summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_header_test
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/run_header_test')
-rwxr-xr-xqpid/cpp/src/tests/run_header_test12
1 files changed, 6 insertions, 6 deletions
diff --git a/qpid/cpp/src/tests/run_header_test b/qpid/cpp/src/tests/run_header_test
index 53b31026d5..a557ee49e9 100755
--- a/qpid/cpp/src/tests/run_header_test
+++ b/qpid/cpp/src/tests/run_header_test
@@ -23,9 +23,9 @@
# TODO: this should be expanded to cover a wider set of types and go
# in both directions
-if test -d ${PYTHON_DIR} ; then
- ./header_test -p $QPID_PORT
- $srcdir/header_test.py "localhost" $QPID_PORT
-else
- echo "Skipping header test as python libs not found"
-fi
+source $QPID_TEST_COMMON
+
+ensure_python_testing
+
+./header_test -p $QPID_PORT
+$srcdir/header_test.py "localhost" $QPID_PORT