summaryrefslogtreecommitdiff
path: root/recipes-core/expat/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/expat/files/run-ptest')
-rw-r--r--recipes-core/expat/files/run-ptest9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-core/expat/files/run-ptest b/recipes-core/expat/files/run-ptest
new file mode 100644
index 0000000..dbf602c
--- /dev/null
+++ b/recipes-core/expat/files/run-ptest
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+TIME=$(which time)
+
+echo "runtests"
+${TIME} -f 'Execution time: %e s' bash -c "./runtests -v"
+echo "runtestspp"
+${TIME} -f 'Execution time: %e s' bash -c "./runtestspp -v"
+echo