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