4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivelibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file was
54834a1,
checked in by Richard Sanger <rsangerarj@…>, 7 years ago
|
Fix execute permissions on scripts
|
-
Property mode set to
100755
|
File size:
436 bytes
|
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 | echo Testing vector |
---|
19 | do_test ./test-datastruct-vector |
---|
20 | echo Testing deque |
---|
21 | do_test ./test-datastruct-deque |
---|
22 | echo Testing ringbuffer |
---|
23 | do_test ./test-datastruct-ringbuffer |
---|
24 | echo |
---|
25 | echo "Tests passed: $OK" |
---|
26 | echo "Tests failed: $FAIL" |
---|
Note: See
TracBrowser
for help on using the repository browser.