Auto merge of #19884 - aneeshusa:fix-mutation-test, r=jdm

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 -->
This commit is contained in:
bors-servo 2018-01-27 23:38:04 -06:00 committed by GitHub
commit 025e5d7733

View file

@ -87,7 +87,7 @@ linux-rel-nogate:
- ./mach clean-cargo-cache --keep 3 --force - ./mach clean-cargo-cache --keep 3 --force
- ./mach build --release - ./mach build --release
- python ./etc/ci/chaos_monkey_test.py - python ./etc/ci/chaos_monkey_test.py
- RUSTFLAGS= bash ./etc/ci/mutation_test.sh - env RUSTFLAGS= bash ./etc/ci/mutation_test.sh
mac-rel-intermittent: mac-rel-intermittent:
- ./mach clean-nightlies --keep 3 --force - ./mach clean-nightlies --keep 3 --force