Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix mutation test in CI by passing env vars correctly #19884
Conversation
Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary since it was the first token in the command string, which won't work. Fix this by using the `env` command to set the environment variables, as there is currently no support for setting per-step environment variables in the `buildbot_steps.yml` file.
|
@bors-servo try |
Fix mutation test in CI by passing env vars correctly Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary since it was the first token in the command string, which won't work. Fix this by using the `env` command to set the environment variables, as there is currently no support for setting per-step environment variables in the `buildbot_steps.yml` file. <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes should fix #19821 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they change the CI configuration <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19884) <!-- Reviewable:end -->
|
|
|
Looks like the mutation test ran correctly this time (and found an error to boot): http://build.servo.org/builders/linux-rel-nogate/builds/1440/steps/shell__4/logs/stdio |
|
@bors-servo r+ |
|
|
Fix mutation test in CI by passing env vars correctly Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary since it was the first token in the command string, which won't work. Fix this by using the `env` command to set the environment variables, as there is currently no support for setting per-step environment variables in the `buildbot_steps.yml` file. <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes should fix #19821 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they change the CI configuration <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19884) <!-- Reviewable:end -->
|
|
aneeshusa commentedJan 27, 2018
•
edited by SimonSapin
Originally, buildbot would try to directly execute
RUSTFLAGS=as a binarysince it was the first token in the command string, which won't work.
Fix this by using the
envcommand to set the environment variables,as there is currently no support for setting per-step environment variables
in the
buildbot_steps.ymlfile../mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is