diff options
Diffstat (limited to 'qpid/cpp/tests/run-python-tests')
-rwxr-xr-x | qpid/cpp/tests/run-python-tests | 15 |
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 |