Fix: uatomic arm32: add missing release barrier before uatomic_xchg
[urcu.git] / tests / benchmark / runtests.sh
... / ...
CommitLineData
1#!/bin/bash
2
3source ../utils/tap.sh
4
5NUM_TESTS=15
6
7plan_tests ${NUM_TESTS}
8
9. ./common.sh
10
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)
21
22# Check if time bin is non-empty
23if [ -n "$test_time_bin" ]; then
24 time_command="$test_time_bin"
25else
26 time_command=""
27fi
28
29for a in test_urcu_gc test_urcu_signal_gc test_urcu_mb_gc test_urcu_qsbr_gc \
30 test_urcu_lgc test_urcu_signal_lgc test_urcu_mb_lgc test_urcu_qsbr_lgc \
31 test_urcu test_urcu_signal test_urcu_mb test_urcu_qsbr \
32 test_rwlock test_perthreadlock test_mutex; do
33 okx $time_command -o $tmpfile ./${a} $*
34 diag "time: $(cat $tmpfile)"
35done
This page took 0.02229 seconds and 4 git commands to generate.