diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2017-04-29 13:17:22 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-19 08:47:11 -0400 |
commit | f0516ed348283fb9fd8e9e1af7d9415728623b1d (patch) | |
tree | 4c9c1d4e5620af4501cc411db25e33b56e204ffa /src/test/include.am | |
parent | f8ef7c65d10ccd9403d9d64ceceba0dd74d6421f (diff) | |
download | tor-f0516ed348283fb9fd8e9e1af7d9415728623b1d.tar.gz tor-f0516ed348283fb9fd8e9e1af7d9415728623b1d.zip |
Run cargo test during make check
Diffstat (limited to 'src/test/include.am')
-rw-r--r-- | src/test/include.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/test/include.am b/src/test/include.am index 438eaddba8..5fd61dd3e6 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -6,7 +6,8 @@ TESTS_ENVIRONMENT = \ export SHELL="$(SHELL)"; \ export abs_top_srcdir="$(abs_top_srcdir)"; \ export builddir="$(builddir)"; \ - export TESTING_TOR_BINARY="$(TESTING_TOR_BINARY)"; + export TESTING_TOR_BINARY="$(TESTING_TOR_BINARY)"; \ + export CARGO="$(CARGO)"; TESTSCRIPTS = \ src/test/fuzz_static_testcases.sh \ @@ -19,6 +20,11 @@ TESTSCRIPTS = \ src/test/test_workqueue_socketpair.sh \ src/test/test_switch_id.sh +if USE_RUST +TESTSCRIPTS += \ + src/test/test_rust.sh +endif + if USEPYTHON TESTSCRIPTS += src/test/test_ntor.sh src/test/test_hs_ntor.sh src/test/test_bt.sh endif @@ -314,6 +320,7 @@ EXTRA_DIST += \ src/test/test_zero_length_keys.sh \ src/test/test_ntor.sh src/test/test_hs_ntor.sh src/test/test_bt.sh \ src/test/test-network.sh \ + src/test/test_rust.sh \ src/test/test_switch_id.sh \ src/test/test_workqueue_cancel.sh \ src/test/test_workqueue_efd.sh \ |