diff options
| author | Robert Greig <rgreig@apache.org> | 2006-12-18 18:20:41 +0000 |
|---|---|---|
| committer | Robert Greig <rgreig@apache.org> | 2006-12-18 18:20:41 +0000 |
| commit | 53d03c43b4e00ce525d5e30c4cbe64c05a1b0222 (patch) | |
| tree | a6e4d9de842ef6d5a49a8599ac3c3879b4126cc6 /qpid/cpp/tests/run-python-tests | |
| parent | e5021e250fed784435d5d00ad5120f94fe33df5b (diff) | |
| download | qpid-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-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 |
