From a280188fdc79fd5d48e71d77367b688d16e09341 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Sat, 27 Jan 2018 15:55:22 -0800 Subject: [PATCH] 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. --- etc/ci/buildbot_steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/ci/buildbot_steps.yml b/etc/ci/buildbot_steps.yml index df86cee287e..28e0b969bf8 100644 --- a/etc/ci/buildbot_steps.yml +++ b/etc/ci/buildbot_steps.yml @@ -87,7 +87,7 @@ linux-rel-nogate: - ./mach clean-cargo-cache --keep 3 --force - ./mach build --release - 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: - ./mach clean-nightlies --keep 3 --force