rust-bitcoin-unsafe-fast/hashes/contrib/extra_tests.sh

12 lines
218 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -ex
REPO_DIR=$(git rev-parse --show-toplevel)
if [ "$DO_SCHEMARS_TESTS" = true ]; then
pushd "$REPO_DIR/hashes/extended_tests/schemars" > /dev/null
cargo test
popd > /dev/null
fi