aboutsummaryrefslogtreecommitdiff
path: root/src/test/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-13 12:21:25 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-13 12:21:25 -0400
commitee860b8f37707cf60daae21b806d4d473daaf2d2 (patch)
tree408a75936fee3d50af85be484e909691a53d6377 /src/test/include.am
parent9d06c41c6e69e25a68639a09b22baa7de3299fa9 (diff)
downloadtor-ee860b8f37707cf60daae21b806d4d473daaf2d2.tar.gz
tor-ee860b8f37707cf60daae21b806d4d473daaf2d2.zip
squash! Make sure that the test_rust.sh script fails when a test fails
Also make sure that we're actually running the test from within the right cwd, like we do when we're building. This seems necessary to avoid an error when running offline. Amusingly, it appears that we had this bug before: we just weren't noticing it, because of bug 26258.
Diffstat (limited to 'src/test/include.am')
-rw-r--r--src/test/include.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am
index b768f74475..cc4f3e5c88 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -9,6 +9,7 @@ TESTS_ENVIRONMENT = \
export builddir="$(builddir)"; \
export TESTING_TOR_BINARY="$(TESTING_TOR_BINARY)"; \
export CARGO="$(CARGO)"; \
+ export EXTRA_CARGO_OPTIONS="$(EXTRA_CARGO_OPTIONS)"; \
export CARGO_ONLINE="$(CARGO_ONLINE)";
TESTSCRIPTS = \