summaryrefslogtreecommitdiff
path: root/cpp/examples/verify_all
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-02-12 21:39:55 +0000
committerAlan Conway <aconway@apache.org>2008-02-12 21:39:55 +0000
commit3e01d2866338273d28d26dd6caf2cf94aa0f9e3c (patch)
tree53d57b3d8bb9faf2fe8211f5dc6e7be92543962b /cpp/examples/verify_all
parent6e835338bdd2411ff31fb90a6d6675ae23b15dc5 (diff)
downloadqpid-python-3e01d2866338273d28d26dd6caf2cf94aa0f9e3c.tar.gz
Create a tar file of verify scripts suitable for untarring into and installed examples directory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627128 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/verify_all')
-rwxr-xr-xcpp/examples/verify_all14
1 files changed, 10 insertions, 4 deletions
diff --git a/cpp/examples/verify_all b/cpp/examples/verify_all
index db1d6de783..3eb88c7718 100755
--- a/cpp/examples/verify_all
+++ b/cpp/examples/verify_all
@@ -1,13 +1,19 @@
#!/bin/sh
# Verify all C++/python example combinations.
#
-verify=$1; shift
-qpidd=$1; shift
-cpp=$1; shift
+
+src=$1 ; build=$2
+
+verify=$src/../bin/verify
+qpidd=$build/src/qpidd
+cpp=$build/examples/examples
+python=$src/../python
trap "$qpidd -q" exit
export QPID_PORT=`$qpidd -dp0 --data-dir ""`
-export PYTHON_EXAMPLES
+export PYTHON_EXAMPLES=$python/examples
+export PYTHONPATH=$python:$PYTHONPATH
+export AMQP_SPEC=$src/../specs/amqp.0-10-preview.xml
find="find $cpp"
test -d $PYTHON_EXAMPLES && find="$find $PYTHON_EXAMPLES"