Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-981] Can't build swift-corelibs-xctest on OS X #401

Closed
swift-ci opened this issue Mar 18, 2016 · 2 comments
Closed

[SR-981] Can't build swift-corelibs-xctest on OS X #401

swift-ci opened this issue Mar 18, 2016 · 2 comments
Assignees

Comments

@swift-ci
Copy link

Previous ID SR-981
Radar None
Original Reporter jonallured (JIRA User)
Type Improvement
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s XCTest
Labels Improvement
Assignee @modocache
Priority Medium

md5: 4ddc1b17a97237b45b44714d210fa96f

Issue Description:

I was able to get some toolchains installed and then use them when launching XCode, but then when I go to actually build and run the SwiftXCTestFunctionalTests scheme, I get this error:

error: can't exec '/Users/jon/code/swift-corelibs-xctest/../llvm/utils/lit/lit.py' (No such file or directory)

And it's true, that file doesn't exist, but I'm not sure what to do about it.

Thanks!
Jon

@modocache
Copy link
Mannequin

modocache mannequin commented Mar 21, 2016

Hey Jon! In order to build and run XCTest, you need the same source layout as required by the Swift project. In other words, you'll need the following folder structure:

some-folder/
    llvm/
    swift/
    swift-corelibs-foundation/
    swift-corelibs-xctest/

In order for the tests to run, they need to find a file named lit.py from within the llvm directory.

Since it seems like a few people are having trouble getting started with contributing to the project, I'll add some additional instructions to the README.

@modocache
Copy link
Mannequin

modocache mannequin commented Mar 23, 2016

I've hopefully addressed this in #76 which provides clearer instructions on how to get things working. #77 should also help make it clear that building swift-corelibs-xctest requires the same source layout as the Swift project requires.

Thanks for raising this issue, jonallured (JIRA User)! Please create another one if you run into any more trouble.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant