projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
runtests: Make path of time binary configurable
[urcu.git]
/
tests
/
common.sh
diff --git a/tests/common.sh
b/tests/common.sh
new file mode 100644
(file)
index 0000000..
9eb03f8
--- /dev/null
+++ b/
tests/common.sh
@@ -0,0
+1,12
@@
+#
+# This file is meant to be sourced from other tests scripts.
+#
+
+if [ -x "$URCU_TEST_TIME_BIN" ]; then
+ test_time_bin="$URCU_TEST_TIME_BIN"
+elif [ -x "/usr/bin/time" ]; then
+ test_time_bin="/usr/bin/time"
+else
+ test_time_bin=""
+fi
+
This page took
0.025545 seconds
and
4
git commands to generate.