summaryrefslogtreecommitdiff
path: root/cpp/tests/run-python-tests
blob: 57be07ec1c15a2202d738b18c3d635eff40ae512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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