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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
#!/usr/bin/env bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR"
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 "Lem tests\n"
printf "==========================================\n"
./lem/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "C tests\n"
printf "==========================================\n"
./c/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "SMT tests\n"
printf "==========================================\n"
./smt/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "SystemVerilog tests\n"
printf "==========================================\n"
verilator --version || returncode=1
./sv/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "Lean tests\n"
printf "==========================================\n"
./lean/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "sailcov tests\n"
printf "==========================================\n"
./sailcov/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "Formatting tests\n"
printf "==========================================\n"
./format/run_tests.py || returncode=1
printf "\n==========================================\n"
printf "One-off tests\n"
printf "==========================================\n"
./oneoff/run_tests.py || returncode=1
exit $returncode
|