aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_rust.sh
diff options
context:
space:
mode:
authorChelsea H. Komlo <chelsea.komlo@gmail.com>2017-07-09 22:33:34 -0400
committerIsis Lovecruft <isis@torproject.org>2017-07-13 18:12:35 +0000
commiteb355e031e86a229b8d8375a5112f8484198373b (patch)
treebb8ca0fcf949c88ff03718dbc588f619d49f4d88 /src/test/test_rust.sh
parent1ff98a7e891b7af4e2f4313c360f3cb320e632a7 (diff)
downloadtor-eb355e031e86a229b8d8375a5112f8484198373b.tar.gz
tor-eb355e031e86a229b8d8375a5112f8484198373b.zip
use CARGO_HOME instead of HOME when building with rust
Diffstat (limited to 'src/test/test_rust.sh')
-rwxr-xr-xsrc/test/test_rust.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_rust.sh b/src/test/test_rust.sh
index 4427c70f13..d559f94ce0 100755
--- a/src/test/test_rust.sh
+++ b/src/test/test_rust.sh
@@ -7,7 +7,7 @@ exitcode=0
for crate in $crates; do
cd "${abs_top_srcdir:-.}/src/rust/${crate}"
- CARGO_TARGET_DIR="${abs_top_builddir}/src/rust/target" HOME="${abs_top_builddir}/src/rust" "${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} || exitcode=1
+ CARGO_TARGET_DIR="${abs_top_builddir}/src/rust/target" CARGO_HOME="${abs_top_builddir}/src/rust" "${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} || exitcode=1
done
exit $exitcode