summaryrefslogtreecommitdiff
path: root/qpid/cpp/tests/run-python-tests
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2006-12-18 18:20:41 +0000
committerRobert Greig <rgreig@apache.org>2006-12-18 18:20:41 +0000
commit53d03c43b4e00ce525d5e30c4cbe64c05a1b0222 (patch)
treea6e4d9de842ef6d5a49a8599ac3c3879b4126cc6 /qpid/cpp/tests/run-python-tests
parente5021e250fed784435d5d00ad5120f94fe33df5b (diff)
downloadqpid-python-53d03c43b4e00ce525d5e30c4cbe64c05a1b0222.tar.gz
Copied remotely
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/perftesting@488382 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/tests/run-python-tests')
-rwxr-xr-xqpid/cpp/tests/run-python-tests15
1 files changed, 15 insertions, 0 deletions
diff --git a/qpid/cpp/tests/run-python-tests b/qpid/cpp/tests/run-python-tests
new file mode 100755
index 0000000000..57be07ec1c
--- /dev/null
+++ b/qpid/cpp/tests/run-python-tests
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+log=`pwd`/qpidd.log
+# Start the daemon, recording its PID.
+../src/qpidd > $log 2>&1 & pid=$!
+
+# Arrange to kill the daemon upon any type of termination.
+trap 'status=$?; kill $pid; exit $status' 0
+trap '(exit $?); exit $?' 1 2 13 15
+
+# Run the tests.
+cd ../../python && ./run-tests -v -I cpp_failing.txt
+
+rm -f $log