0e5577b3cdc4a9cf3c783a6301d2ff997ac85d09
[urcu.git] / tests / benchmark / runtests-batch.sh
1 #!/bin/bash
2
3 source ../utils/tap.sh
4
5 NUM_TESTS=1
6
7 plan_tests ${NUM_TESTS}
8
9 . ./common.sh
10
11 function cleanup()
12 {
13 if [ x"$tmpfile" != x"" ]; then
14 rm -f $tmpfile
15 fi
16 }
17
18 tmpfile=
19 trap cleanup SIGINT SIGTERM EXIT
20 tmpfile=$(mktemp)
21
22 # Check if time bin is non-empty
23 if [ -n "$test_time_bin" ]; then
24 time_command="$test_time_bin"
25 else
26 time_command=""
27 fi
28
29 tmpfile=$(mktemp)
30
31 #for a in test_urcu_gc test_urcu_gc_mb test_urcu_qsbr_gc; do
32 for a in test_urcu_gc; do
33 okx $time_command -o $tmpfile ./${a} $*
34 diag "time: $(cat $tmpfile)"
35 done
This page took 0.030481 seconds and 3 git commands to generate.