source: test/do-tests-parallel.sh

cachetimestampsdevelopetsiliverc-4.0.3rc-4.0.4ringdecrementfixringperformance
Last change on this file was 43b773a, checked in by Shane Alcock <salcock@…>, 3 years ago

Add basic tests for reading ERF provenance records

  • Property mode set to 100755
File size: 1.5 KB
Line 
1#!/bin/bash
2
3OK=0
4FAIL=""
5
6do_test() {
7        if $@; then
8                OK=$[ $OK + 1 ]
9        else
10                FAIL="$FAIL
11$@"
12        fi
13}
14
15libdir=../lib/.libs:../libpacketdump/.libs
16export LD_LIBRARY_PATH="$libdir:/usr/local/lib/"
17export DYLD_LIBRARY_PATH="${libdir}"
18
19rm -f traces/*.out.*
20echo \* Read erf
21do_test ./test-format-parallel erf
22
23echo \* Read erf provenance
24do_test ./test-format-parallel erfprov
25
26echo \* Read pcap
27do_test ./test-format-parallel pcap
28
29echo \* Read pcapfile
30do_test ./test-format-parallel pcapfile
31
32echo \* Read pcapfilens
33do_test ./test-format-parallel pcapfilens
34
35echo \* Read legacyatm
36do_test ./test-format-parallel legacyatm
37
38echo \* Read legacyeth
39do_test ./test-format-parallel legacyeth
40
41echo \* Read legacypos
42do_test ./test-format-parallel legacypos
43
44echo \* Read tsh
45do_test ./test-format-parallel tsh
46
47echo \* Read rawerf
48do_test ./test-format-parallel rawerf
49
50echo \* Read pcapng
51do_test ./test-format-parallel pcapng
52
53echo \* Read testing hasher function
54do_test ./test-format-parallel-hasher erf
55
56echo \* Read testing single-threaded datapath
57do_test ./test-format-parallel-singlethreaded erf
58
59echo \* Read testing single-threaded hasher datapath
60do_test ./test-format-parallel-singlethreaded-hasher erf
61
62echo \* Read stress testing with 100 threads
63do_test ./test-format-parallel-stressthreads erf
64
65echo \* Read testing reporter thread
66do_test ./test-format-parallel-reporter erf
67
68echo \* Testing Trace-Time Playback
69do_test ./test-tracetime-parallel
70
71echo
72echo "Tests passed: $OK"
73echo "Tests failed: $FAIL"
Note: See TracBrowser for help on using the repository browser.