summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_perftest
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-01-04 15:42:34 +0000
committerAlan Conway <aconway@apache.org>2008-01-04 15:42:34 +0000
commit02c036d9684fc3a326577d2aaeaf956690ea8816 (patch)
tree4fd681f4bc020bbf6100b806d3e2c2b4305831de /cpp/src/tests/run_perftest
parentd8545c401bf6af7f7ba732692ada6fb212bdece3 (diff)
downloadqpid-python-02c036d9684fc3a326577d2aaeaf956690ea8816.tar.gz
Makefile.am: added check-long target to run perftest scenarios.
Not run as part of normal check target. Takes about 5 minutes to run on an amd-32 optimized build. For a longer run, increase PERFTEST_MULT in run_perftest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@608892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_perftest')
-rwxr-xr-xcpp/src/tests/run_perftest8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/tests/run_perftest b/cpp/src/tests/run_perftest
new file mode 100755
index 0000000000..c1e66294c1
--- /dev/null
+++ b/cpp/src/tests/run_perftest
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Args: count [perftest options...]
+# Run a perftest with count multiplied.
+#
+MULTIPLIER=3
+COUNT=`expr $1 \* $MULTIPLIER`
+shift
+exec `dirname $0`/run_test ./perftest --summary --count $COUNT "$@"