Files
aiken/examples/acceptance_tests/ci
KtorZ 1091eba3c3 Review & fix acceptance tests
Temporarily using the 'specialize-dict-key' branch from the stdlib
  which makes use of Pair where relevant. Once this is merged back into
  'main' we should update the acceptance test toml files to keep getting
  them automatically upgraded.

  This commit also fixes an oversight in the reification of data-types
  now properly distinguishing between pairs and 2-tuples.

  Co-authored-by: Microproofs <kasey.white@cardanofoundation.org>
2024-05-04 14:04:12 -04:00

31 lines
582 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