forked from outscale/packetgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_tests.sh
executable file
·51 lines (44 loc) · 1017 Bytes
/
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
#!/bin/bash
set -x
set -e
make style
make
make tests_compile
make bench_compile
if [ "$(whoami)" == "travis" ]; then
if [ ! -e "/usr/bin/doxygen" ]; then
sudo curl https://osu.eu-west-2.outscale.com/jerome.jutteau/16d1bc0517de5c95aa076a0584b43af6/doxygen.sh -o /usr/bin/doxygen
sudo chmod +x /usr/bin/doxygen
fi
make doc
fi
./tests/antispoof/test.sh
./tests/core/test.sh
./tests/diode/test.sh
./tests/firewall/test.sh
./tests/nic/test.sh
./tests/print/test.sh
./tests/queue/test.sh
./tests/switch/test.sh
./tests/vtep/test.sh
./tests/rxtx/test.sh
./tests/pmtud/test.sh
./tests/tap/test.sh
./tests/thread/test.sh
./tests/antispoof/bench.sh
./tests/core/bench.sh
./tests/diode/bench.sh
./tests/firewall/bench.sh
./tests/nic/bench.sh
./tests/print/bench.sh
./tests/queue/bench.sh
./tests/switch/bench.sh
./tests/vtep/bench.sh
./tests/rxtx/bench.sh
./tests/pmtud/bench.sh
./tests/tap/bench.sh
if [ "$(whoami)" != "travis" ]; then
./tests/integration/test.sh
./tests/vhost/test.sh
fi
make cov