3 # SPDX-License-Identifier: GPL-2.0-only
5 # SPDX-FileCopyrightText: 2022 EfficiOS Inc.
8 if [ "x${URCU_TESTS_SRCDIR:-}" != "x" ]; then
9 UTILSSH
="$URCU_TESTS_SRCDIR/utils/utils.sh"
11 UTILSSH
="$(dirname "$0")/../utils/utils.sh"
17 # shellcheck source=../utils/utils.sh
21 # Create a temporary file for tests output
24 # Set trap to delete the temporary file on exit and call tap.sh '_exit'
25 trap 'rm -f "$TMPFILE"; _exit' EXIT
30 plan_tests
${NUM_TESTS}
32 #for a in test_urcu_gc test_urcu_gc_mb test_urcu_qsbr_gc; do
33 for a
in test_urcu_gc
; do
34 okx
"${URCU_TESTS_TIME_BIN}" "${URCU_TESTS_BUILDDIR}/benchmark/${a}" "$@" 2>"${TMPFILE}"
35 diag
"time: $(cat "${TMPFILE}")"
This page took 0.031144 seconds and 5 git commands to generate.