Fix ci scripts

This commit is contained in:
Greg Fitzgerald 2019-03-02 21:16:41 -07:00 committed by Grimes
parent 41b5899856
commit 9923c543e8
2 changed files with 3 additions and 3 deletions

View File

@ -43,10 +43,10 @@ _ cargo +nightly bench --features=unstable ${V:+--verbose} \
-- -Z unstable-options --format=json | tee "$BENCH_FILE"
# Run bpf_loader bench with bpf_c feature enabled
echo --- program/native/bpf_loader bench --features=bpf_c
echo --- program/bpf_loader bench --features=bpf_c
(
set -x
cd programs/native/bpf_loader
cd programs/bpf_loader
cargo +nightly bench ${V:+--verbose} --features="bpf_c" \
-- -Z unstable-options --format=json --nocapture | tee -a ../../../"$BENCH_FILE"
)

View File

@ -56,7 +56,7 @@ test-stable-perf)
popd
_ cargo test --manifest-path programs/Cargo.toml --no-default-features --features="$PROGRAM_FEATURES"
_ cargo test --manifest-path programs/native/bpf_loader/Cargo.toml --no-default-features --features="$PROGRAM_FEATURES"
_ cargo test --manifest-path programs/bpf_loader/Cargo.toml --no-default-features --features="$PROGRAM_FEATURES"
# Run root package tests witht these features
ROOT_FEATURES=erasure,chacha