source: test/do-tests-datastruct.sh @ 54834a1

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivelibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 54834a1 was 54834a1, checked in by Richard Sanger <rsangerarj@…>, 6 years ago

Fix execute permissions on scripts

  • Property mode set to 100755
File size: 436 bytes
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"
17export DYLD_LIBRARY_PATH="${libdir}"
18echo Testing vector
19do_test ./test-datastruct-vector
20echo Testing deque
21do_test ./test-datastruct-deque
22echo Testing ringbuffer
23do_test ./test-datastruct-ringbuffer
24echo
25echo "Tests passed: $OK"
26echo "Tests failed: $FAIL"
Note: See TracBrowser for help on using the repository browser.