Files
aiken/examples/acceptance_tests/ci
microproofs fc0e88018e Chore:
Refactor get_uplc_type to account for constr types that don't exactly resolve to a uplc type
Check arg_stack in uplc generator has only 1 argument at the end of the generation
warning fixes
2024-05-04 14:04:12 -04:00

31 lines
565 B
Bash
Executable File

#!/usr/bin/env bash
exit_codes=()
TESTS=()
for scenario in $(find . -maxdepth 1 -mindepth 1 -type d ! -name script_context); do
./run $scenario &
TESTS+=("$!")
done
for p in ${TESTS[@]}; do
wait $p
exit_codes+=("$?")
done
for interaction in $(find script_context/validators -type f); do
title=$(basename $interaction)
title="${title%.*}"
cd script_context && ./test.sh $title
exit_codes+=("$?")
cd -
done
for code in ${exit_codes[@]}; do
if [ $code -ne 0 ]; then
echo "Some test returned non-zero code: $code"
exit $code
fi
done