1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/test.sh
2021-06-29 12:16:36 +02:00

12 lines
283 B
Bash
Executable file

#!/bin/bash
# Exit if any subcommand fails
set -e
if [ -n "$WITH_LIBSNARK" ]; then
# run specifically the libsnark tests inside zokrates_core
cargo test --release --package zokrates_core --features="libsnark" libsnark
fi
# run all tests without libsnark on
cargo test --release