Port: Detect nproc bin name in benchmark scripts
[urcu.git] / tests / benchmark / common.sh
1 #
2 # This file is meant to be sourced from other tests scripts.
3 #
4
5 if [ -x "$URCU_TEST_TIME_BIN" ]; then
6 test_time_bin="$URCU_TEST_TIME_BIN"
7 elif [ -x "/usr/bin/time" ]; then
8 test_time_bin="/usr/bin/time"
9 else
10 test_time_bin=""
11 fi
12
This page took 0.031924 seconds and 5 git commands to generate.