-
Notifications
You must be signed in to change notification settings - Fork 10.5k
test: configure the windows test environment #15018
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
Conversation
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
@@ -158,8 +158,16 @@ if platform.system() == 'Darwin': | |||
config.environment['TOOLCHAINS'] = \ | |||
os.environ.get('TOOLCHAINS', config.darwin_xcrun_toolchain) | |||
|
|||
|
|||
kIsWindows = platform.system() == 'Windows' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: please match the naming conventions for all the other variables in the file (snake_case, no leading "k").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit more complicated: this is also the name of a variable in the rest of lit (where I stole it from). It is in the core lit infrastructure ... so I'm kinda torn (my personal preference is the snake case).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. Uh…we're setting a variable in the rest of lit? Is it expecting us to do that?
Basically, if it's what Clang does then okay (although it may be worth leaving a comment).
Ah, is it worth bothering to make sure this doesn't conflict with Cygwin? I don't know if anyone's actively using that, though. |
IIRC, @huonw was the one working on cygwin? I don't know if the tests ever passed in that environment in the first place. |
Build failed |
Build failed |
87452ca
to
55a53e3
Compare
Not me, sorry! |
I think @tinysun212 was working on the Cygwin port. |
It is difficult to test on the Cygwin in my current situation. |
@swift-ci please test |
Build failed |
Build failed |
68fe8e0
to
9b4e0f9
Compare
This is awesome 👍 |
1731eb7
to
f766208
Compare
Okay, I've not had to tweak this in quite some time. I think that this is good from the support side, the tests need adjustment still. |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
Build failed |
Build failed |
f766208
to
c2011d1
Compare
@swift-ci please test and merge |
Please test with following PR: @swift-ci please test |
Build failed |
Build failed |
b0d9547
to
242578f
Compare
@swift-ci please test |
Build failed |
@swift-ci please smoke test |
3602d93
to
fdfe126
Compare
@swift-ci please test |
Build failed |
Build failed |
fdfe126
to
46de420
Compare
@swift-ci please test |
Build failed |
Build failed |
This enables lit to at least start running on Windows. There is more work necessary to get the tests actually passing on Windows.
46de420
to
0faf870
Compare
@swift-ci please smoke test |
Build failed |
Build failed |
@swift-ci please test and merge |
This enables lit to at least start running on Windows. There is more
work necessary to get the tests actually passing on Windows.
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.