4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivelibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 0862c20 was
f051c1b,
checked in by Richard Sanger <rsangerarj@…>, 6 years ago
|
Tidies up the state messages received, now all states are passed through created->resumed->paused->stopped this might simplify some code. Removed the extra paused state.
Hooks up the reporter method through trace_pstart, hopefully resulting in simpler code most of the time. Also renames this from reducer to reporter anywhere it was not already. Adds a test for this also.
Removes is_packet from a result in favour of a more generic type, with packet being one of these.
Moves configuration for tuning relelated settings into a single structure.
|
-
Property mode set to
100755
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | OK=0 |
---|
4 | FAIL="" |
---|
5 | |
---|
6 | do_test() { |
---|
7 | if $@; then |
---|
8 | OK=$[ $OK + 1 ] |
---|
9 | else |
---|
10 | FAIL="$FAIL |
---|
11 | $@" |
---|
12 | fi |
---|
13 | } |
---|
14 | |
---|
15 | libdir=../lib/.libs:../libpacketdump/.libs |
---|
16 | export LD_LIBRARY_PATH="$libdir" |
---|
17 | export DYLD_LIBRARY_PATH="${libdir}" |
---|
18 | |
---|
19 | rm -f traces/*.out.* |
---|
20 | echo \* Read erf |
---|
21 | do_test ./test-format-parallel erf |
---|
22 | |
---|
23 | echo \* Read pcap |
---|
24 | do_test ./test-format-parallel pcap |
---|
25 | |
---|
26 | echo \* Read pcapfile |
---|
27 | do_test ./test-format-parallel pcapfile |
---|
28 | |
---|
29 | echo \* Read pcapfilens |
---|
30 | do_test ./test-format-parallel pcapfilens |
---|
31 | |
---|
32 | echo \* Read legacyatm |
---|
33 | do_test ./test-format-parallel legacyatm |
---|
34 | |
---|
35 | echo \* Read legacyeth |
---|
36 | do_test ./test-format-parallel legacyeth |
---|
37 | |
---|
38 | echo \* Read legacypos |
---|
39 | do_test ./test-format-parallel legacypos |
---|
40 | |
---|
41 | echo \* Read tsh |
---|
42 | do_test ./test-format-parallel tsh |
---|
43 | |
---|
44 | echo \* Read rawerf |
---|
45 | do_test ./test-format-parallel rawerf |
---|
46 | |
---|
47 | echo \* Read testing hasher function |
---|
48 | do_test ./test-format-parallel-hasher erf |
---|
49 | |
---|
50 | echo \* Read testing single-threaded datapath |
---|
51 | do_test ./test-format-parallel-singlethreaded erf |
---|
52 | |
---|
53 | echo \* Read testing single-threaded hasher datapath |
---|
54 | do_test ./test-format-parallel-singlethreaded-hasher erf |
---|
55 | |
---|
56 | echo \* Read stress testing with 100 threads |
---|
57 | do_test ./test-format-parallel-stressthreads erf |
---|
58 | |
---|
59 | echo \* Read stress testing with 100 threads |
---|
60 | do_test ./test-format-parallel-reporter erf |
---|
61 | |
---|
62 | echo |
---|
63 | echo "Tests passed: $OK" |
---|
64 | echo "Tests failed: $FAIL" |
---|
Note: See
TracBrowser
for help on using the repository browser.