forked from rems-project/sail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_coverage_tests.sh
executable file
·64 lines (42 loc) · 1.67 KB
/
run_coverage_tests.sh
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
#!/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.sh || 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 "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
exit $returncode