summaryrefslogtreecommitdiff
path: root/cpp/examples/verify_all
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-02-08 22:23:23 +0000
committerAlan Conway <aconway@apache.org>2008-02-08 22:23:23 +0000
commit94f3f2c02f1242b1c1d632954c6434defb86edd5 (patch)
treefd73c76a454813f034ffeb5ae36485fd895e0fe2 /cpp/examples/verify_all
parent753af4e75c0faaf12f9926e0f17354206377b3d6 (diff)
downloadqpid-python-94f3f2c02f1242b1c1d632954c6434defb86edd5.tar.gz
cpp/examples/direct, fanout: Converted listener.cpp to SubscriptionManager.
All python/cpp combos run as part of cpp/examples make check. Fixed problems with verify scripts and VPATH builds. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@620014 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/verify_all')
-rwxr-xr-xcpp/examples/verify_all18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/examples/verify_all b/cpp/examples/verify_all
new file mode 100755
index 0000000000..db1d6de783
--- /dev/null
+++ b/cpp/examples/verify_all
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Verify all C++/python example combinations.
+#
+verify=$1; shift
+qpidd=$1; shift
+cpp=$1; shift
+
+trap "$qpidd -q" exit
+export QPID_PORT=`$qpidd -dp0 --data-dir ""`
+export PYTHON_EXAMPLES
+
+find="find $cpp"
+test -d $PYTHON_EXAMPLES && find="$find $PYTHON_EXAMPLES"
+find="$find -name verify"
+test -d $PYTHON_EXAMPLES && \
+ find="$find -o -name verify_cpp_python -o -name verify_python_cpp"
+$verify `$find`
+