How to view which tests are fail


(Sahil Wasan) #1

Thanks Mish for your reply.

Please find the attached gist for my test fails.
https://gist.github.com/codestergit/a466da4b6d197b25b3c1

I just want to know how to view which test are failing because it only
shows test number not test and another thing is how to debug the code of
swift lang. Do I need to use lldb from command line or there is some IDE
like xcpde or something with which I can debug the code.

Thanks for your help

···

On Tue, Dec 8, 2015 at 12:18 AM, Mish Awadah <mawadah@apple.com> wrote:

On Dec 5, 2015, at 7:08 AM, Sahil Wasan <sahilprofile@gmail.com> wrote:

Hi Swift Team

I am using this utils/build-script -RT command to runt tests. My question
is
1) At the end test is failing(4 test) but I do not know which tests are
failing and what is reason.

What’s the output at the end of the testing?

2) Can I use Xcode to debug the swift code. Is it possible. I have created
project with
utils/build-script -X --skip-build -- --reconfigure

But I can not able to compile the code. I am getting compiler error while
running the code.

Please show us your error.

3)Is it possible to test the code with xcode.

If I am not mistaken, no it is not. The tests are lit-based and not XCTest.

Best,
Mish

Thanks
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Mish Awadah) #2

At the end of your gist is a summary. There, the failing test is listed:

Failing Tests (1):
    Swift :: Driver/Dependencies/bindings-build-record.swift

The failure output of the test is above. It should be quite clear.

Debugging is possible with the lldb built with Swift. For now I cannot answer if this is possible through Xcode.

- mish

···

On Dec 7, 2015, at 12:16 PM, Sahil Wasan <sahilprofile@gmail.com> wrote:

Thanks Mish for your reply.

Please find the attached gist for my test fails.
https://gist.github.com/codestergit/a466da4b6d197b25b3c1

I just want to know how to view which test are failing because it only shows test number not test and another thing is how to debug the code of swift lang. Do I need to use lldb from command line or there is some IDE like xcpde or something with which I can debug the code.

Thanks for your help

On Tue, Dec 8, 2015 at 12:18 AM, Mish Awadah <mawadah@apple.com <mailto:mawadah@apple.com>> wrote:

On Dec 5, 2015, at 7:08 AM, Sahil Wasan <sahilprofile@gmail.com <mailto:sahilprofile@gmail.com>> wrote:

Hi Swift Team

I am using this utils/build-script -RT command to runt tests. My question is
1) At the end test is failing(4 test) but I do not know which tests are failing and what is reason.

What’s the output at the end of the testing?

2) Can I use Xcode to debug the swift code. Is it possible. I have created project with
utils/build-script -X --skip-build -- --reconfigure

But I can not able to compile the code. I am getting compiler error while running the code.

Please show us your error.

3)Is it possible to test the code with xcode.

If I am not mistaken, no it is not. The tests are lit-based and not XCTest.

Best,
Mish

Thanks
_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev