summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_header_test
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/run_header_test')
-rwxr-xr-xcpp/src/tests/run_header_test13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/src/tests/run_header_test b/cpp/src/tests/run_header_test
new file mode 100755
index 0000000000..aedd2619a6
--- /dev/null
+++ b/cpp/src/tests/run_header_test
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Simple test of encode/decode of a double in application headers
+# TODO: this should be expanded to cover a wider set of types and go
+# in both directions
+
+srcdir=`dirname $0`
+PYTHON_DIR=$srcdir/../../../python
+test -f qpidd.port && QPID_PORT=`cat qpidd.port`
+
+./header_test -p $QPID_PORT
+export PYTHONPATH=$PYTHON_DIR:$PYTHONPATH
+$srcdir/header_test.py "localhost" $QPID_PORT
+