-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_tests.sh
executable file
·57 lines (51 loc) · 2.13 KB
/
run_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
#!/usr/bin/env zsh
export ASAN_OPTIONS="halt_on_error=1"
export MSAN_OPTIONS="halt_on_error=1"
export UBSAN_OPTIONS="halt_on_error=1"
export TSAN_OPTIONS="halt_on_error=1"
output_dir=/media/night/Files/tests
# check if the parent directory exists
if [[ ! -d $output_dir:h ]]; then
echo "Directory ${output_dir:h} does not exit" >&2
exit 1
fi
rm -rf $output_dir
mkdir $output_dir
# test the reader for all benchmark SPEF files, and stop if one of them returns
# a non-zero value
./build/test_reader benchmark/c3_slack.spef && \
./build/test_reader benchmark/simple.spef && \
./build/test_reader benchmark/iso_example.spef && \
./build/test_reader benchmark/c17_slack.spef && \
./build/test_reader benchmark/c17.spef && \
./build/test_reader benchmark/s27.spef && \
./build/test_reader benchmark/s344.spef && \
./build/test_reader benchmark/s386.spef && \
./build/test_reader benchmark/c432.spef && \
./build/test_reader benchmark/s349.spef && \
./build/test_reader benchmark/s400.spef && \
./build/test_reader benchmark/c499.spef && \
./build/test_reader benchmark/c1355.spef && \
./build/test_reader benchmark/s526.spef && \
./build/test_reader benchmark/c1908.spef && \
./build/test_reader benchmark/s510.spef && \
./build/test_reader benchmark/c880.spef && \
./build/test_reader benchmark/c2670.spef && \
./build/test_reader benchmark/s1196.spef && \
./build/test_reader benchmark/s1494.spef && \
./build/test_reader benchmark/c3540.spef && \
./build/test_reader benchmark/c5315.spef && \
./build/test_reader benchmark/c7552_slack.spef && \
./build/test_reader benchmark/c7552.spef && \
./build/test_reader benchmark/c6288.spef && \
./build/test_reader benchmark/systemcdes.spef && \
./build/test_reader benchmark/wb_dma.spef && \
./build/test_reader benchmark/tv80.spef && \
./build/test_reader benchmark/systemcaes.spef && \
./build/test_reader benchmark/ac97_ctrl.spef && \
./build/test_reader benchmark/usb_funct.spef && \
./build/test_reader benchmark/pci_bridge32.spef && \
./build/test_reader benchmark/aes_core.spef && \
./build/test_reader benchmark/fft_ispd.spef && \
./build/test_reader benchmark/des_perf.spef && \
./build/test_reader benchmark/vga_lcd.spef