Skip to content

tests: fix accidental not env usage #29198

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

Closed
wants to merge 1 commit into from

Conversation

compnerd
Copy link
Member

Manually expand out the few places where we had a not ... substitution
where the substituted value was invoking env to alter the environment.
This pattern is not portable and causes problems when using the
integrated shell, such as on Windows. This was identified during the
LLVM update.

This additionally corrects the use of not to indicate that it is
expecting a crashing failure. This was resulting in the Windows tests
failing as not was not expecting a crashing failure.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Manually expand out the few places where we had a `not ...` substitution
where the substituted value was invoking `env` to alter the environment.
This pattern is not portable and causes problems when using the
integrated shell, such as on Windows.  This was identified during the
LLVM update.

This additionally corrects the use of `not` to indicate that it is
expecting a crashing failure.  This was resulting in the Windows tests
failing as `not` was not expecting a crashing failure.
@compnerd
Copy link
Member Author

@compnerd
Copy link
Member Author

@swift-ci please test macOS platform

@compnerd
Copy link
Member Author

CC: @gottesmm

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 74f7c76

@shahmishal
Copy link
Member

  • merge this PR to fix master-rebranch merge.

@shahmishal shahmishal self-assigned this Feb 9, 2020
@Rostepher
Copy link
Contributor

@swift-ci please test macOS platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 74f7c76

@gottesmm
Copy link
Contributor

@swift-ci please test macOS platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 74f7c76

@compnerd
Copy link
Member Author

@CodaFi was looking into resolving this issue

@compnerd compnerd closed this Feb 15, 2020
@compnerd compnerd deleted the crashing-hard branch February 15, 2020 19:25
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.

5 participants