From 6feb6a27be54d2ed98efeea7ec54d0cca3c484b6 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 1 Aug 2018 11:44:10 -0700 Subject: [PATCH] Run localnet-sanity in test-stable-perf --- ci/test-stable-perf.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ci/test-stable-perf.sh b/ci/test-stable-perf.sh index ca0bc5a4b6..935d0eb32d 100755 --- a/ci/test-stable-perf.sh +++ b/ci/test-stable-perf.sh @@ -8,5 +8,17 @@ export LD_LIBRARY_PATH=$PWD:/usr/local/cuda/lib64 export PATH=$PATH:/usr/local/cuda/bin export RUST_BACKTRACE=1 -set -x -exec cargo test --features=cuda,erasure +_() { + echo "--- $*" + "$@" +} + +_ cargo test --features=cuda,erasure + +echo --- ci/localnet-sanity.sh +( + set -x + # Assume |cargo build| has populated target/debug/ successfully. + export PATH=$PWD/target/debug:$PATH + USE_INSTALL=1 ci/localnet-sanity.sh +)