1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
#!/usr/bin/env bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR"
# Some basic tests that don't have external tool requirements, don't
# take too long, and don't have regressions that we haven't sorted out
# yet.
returncode=0
printf "\n==========================================\n"
printf "Lexing tests\n"
printf "==========================================\n"
./lexing/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "Pattern completeness tests\n"
printf "==========================================\n"
./pattern_completeness/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "Typechecking tests\n"
printf "==========================================\n"
./typecheck/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "OCaml tests\n"
printf "==========================================\n"
./ocaml/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "Floating point tests\n"
printf "==========================================\n"
./float/run_tests.py || returncode=1
exit $returncode
|