projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: missing sign compare fixes
[urcu.git]
/
tests
/
benchmark
/
runtests-batch.sh
diff --git
a/tests/benchmark/runtests-batch.sh
b/tests/benchmark/runtests-batch.sh
index 3d295fb9c8bf835867fc3f9c60ce0b07fc29a372..f030de6e6e75617314761ca3e8a0628b72861310 100755
(executable)
--- a/
tests/benchmark/runtests-batch.sh
+++ b/
tests/benchmark/runtests-batch.sh
@@
-1,19
+1,14
@@
-#!/bin/sh
+#!/bin/
ba
sh
+. ../utils/tap.sh
. ./common.sh
. ./common.sh
-log_file="runall.detail.log"
+NUM_TESTS=1
-# Check if time bin is non-empty
-if [ -n "$test_time_bin" ]; then
- time_command="$test_time_bin"
-else
- time_command=""
-fi
+plan_tests ${NUM_TESTS}
#for a in test_urcu_gc test_urcu_gc_mb test_urcu_qsbr_gc; do
for a in test_urcu_gc; do
#for a in test_urcu_gc test_urcu_gc_mb test_urcu_qsbr_gc; do
for a in test_urcu_gc; do
-
echo "./${a} $*" | tee -a "$log_file
"
- $time_command ./${a} $* 2>> $log_file
+
okx "${TEST_TIME_BIN}" ./"${a}" "$@" 2>"${TMPFILE}
"
+ diag "time: $(cat "${TMPFILE}")"
done
done
-
This page took
0.0291670000000001 seconds
and
4
git commands to generate.