mirror of
https://github.com/arnaucube/hyperplonk.git
synced 2026-01-10 16:11:29 +01:00
Make scripts fail out on error
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#Fail out on error
|
||||||
|
set -e
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
cd hyperplonk
|
cd hyperplonk
|
||||||
# Run the benchmark binary
|
# Run the benchmark binary
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#Fail out on error
|
||||||
|
set -e
|
||||||
|
|
||||||
# We want the code to panic if there is an integer overflow
|
# We want the code to panic if there is an integer overflow
|
||||||
export RUSTFLAGS="-C overflow-checks=on"
|
export RUSTFLAGS="-C overflow-checks=on"
|
||||||
|
|
||||||
cargo test --release -p pcs --no-default-features --features=parallel -- -Zunstable-options --report-time
|
cargo test --release --all -- -Zunstable-options --report-time
|
||||||
cargo test --release -- -Zunstable-options --report-time
|
|
||||||
cargo test --no-run --features=print-trace
|
cargo test --no-run --features=print-trace
|
||||||
cargo test --no-run --no-default-features
|
cargo test --no-run --no-default-features
|
||||||
cargo bench --no-run
|
cargo bench --no-run
|
||||||
@@ -1,5 +1,9 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell ../nix/nightly.nix -i bash
|
#!nix-shell ../nix/nightly.nix -i bash
|
||||||
|
|
||||||
|
#Fail out on error
|
||||||
|
set -e
|
||||||
|
|
||||||
set -o xtrace
|
set -o xtrace
|
||||||
IGNORED_FILES="--ignore **/errors.rs\
|
IGNORED_FILES="--ignore **/errors.rs\
|
||||||
--ignore **/src/bin/*\
|
--ignore **/src/bin/*\
|
||||||
|
|||||||
Reference in New Issue
Block a user