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

Fix lit testing using VS 2017. #13

Merged
merged 1 commit into from Feb 28, 2018
Merged

Fix lit testing using VS 2017. #13

merged 1 commit into from Feb 28, 2018

Conversation

dtarditi
Copy link
Contributor

When clang is run under the lit testing harness on a Windows machine with
only Visual Studio 2017 installed, clang can't find the VS install directory. This
can cause tests that do linking to fail. The lit scripts are filtering
out the ProgramData environment variable. Clang is using a VS library
for finding the VS install location, and the library depends on the
ProgramData environment variable being set correctly. The fix is to not
filter out the ProgramData variable.

When clang is run under the lit testing harness on a Windows machine with
only VS 2017 installed, clang can't find the VS install directory.  This
can cause tests that do linking to fail.   The lit scripts are filtering
out the ProgramData environment variable.   Clang is using a VS 2017 library
for finding the VS 2017 install location, and the library depends on the
ProgramData environment variable being set correctly.  The fix is to not
filter out the ProgramData variable.
@dtarditi dtarditi merged commit d8d78c7 into master Feb 28, 2018
@dtarditi dtarditi deleted the vs2017-lit branch June 7, 2018 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant