1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/test.sh

12 lines
303 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 -- --test-threads=1
fi
# run all tests without libsnark on
cargo test --release