summaryrefslogtreecommitdiff
path: root/qpid/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
commit65212ec06bdc3adbd2e764ff0525b7ba0fafa73a (patch)
tree3be39757d7c1b2b07248a20ee61893f02c5f2e16 /qpid/cpp/examples/verify_all
parent1d7c9ae37f99102dd86783f481e2e7930ed56267 (diff)
downloadqpid-python-65212ec06bdc3adbd2e764ff0525b7ba0fafa73a.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@620014 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/verify_all')
-rwxr-xr-xqpid/cpp/examples/verify_all18
1 files changed, 18 insertions, 0 deletions
diff --git a/qpid/cpp/examples/verify_all b/qpid/cpp/examples/verify_all
new file mode 100755
index 0000000000..db1d6de783
--- /dev/null
+++ b/qpid/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`
+