arnaucube
arnaucube/hyperplonkPublic Self-hosted repository
Merge pull request #114 from EspressoSystems/scripts

Make scripts fail out on error
Mat R 1577341+Ancient123@users.noreply.github.com
Thu, 12 Jan 2023 10:00:02 -0700
commit

38a0d3c59369a3edc6ff04d7dd21da3b64390c90

parent

e15b079684b9003509e6b459278603de12c73b62

3 files changed, 14 insertions(+), 5 deletions(-)

jump to
M scripts/run_benchmarks.sh → scripts/run_benchmarks.sh

@@ -1,4 +1,8 @@

-#!/bin/bash +#!/usr/bin/env bash + +#Fail out on error +set -e + cd .. cd hyperplonk # Run the benchmark binary
M scripts/run_tests.sh → scripts/run_tests.sh

@@ -1,10 +1,11 @@

#!/usr/bin/env bash +#Fail out on error +set -e + # We want the code to panic if there is an integer overflow export RUSTFLAGS="-C overflow-checks=on" -cargo test --release -p pcs --no-default-features --features=parallel -- -Zunstable-options --report-time -cargo test --release -- -Zunstable-options --report-time +cargo test --release --all -- -Zunstable-options --report-time cargo test --no-run --features=print-trace -cargo test --no-run --no-default-features -cargo bench --no-run+cargo bench --no-run
M scripts/test_coverage.sh → scripts/test_coverage.sh

@@ -1,5 +1,9 @@

#!/usr/bin/env nix-shell #!nix-shell ../nix/nightly.nix -i bash + +#Fail out on error +set -e + set -o xtrace IGNORED_FILES="--ignore **/errors.rs\ --ignore **/src/bin/*\