summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-15 21:34:10 +0000
committerAlan Conway <aconway@apache.org>2008-05-15 21:34:10 +0000
commitca3bc30a4ff5fbd2504b2868eea60e647b16b2d8 (patch)
tree0e842261b0acd9b67ea4e3cb478e60bf975314b0 /qpid/cpp/examples
parent91d75bcf41126fa56a782e4672c9ac5752ec2ded (diff)
downloadqpid-python-ca3bc30a4ff5fbd2504b2868eea60e647b16b2d8.tar.gz
- Enable python tets and examples in make rpmbuild.
- Remove hard-coded amqp.xml paths from python examples. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@656853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
-rwxr-xr-xqpid/cpp/examples/verify_all6
1 files changed, 2 insertions, 4 deletions
diff --git a/qpid/cpp/examples/verify_all b/qpid/cpp/examples/verify_all
index 9db2214903..1e122572ea 100755
--- a/qpid/cpp/examples/verify_all
+++ b/qpid/cpp/examples/verify_all
@@ -6,16 +6,14 @@ verify=`dirname $0`/verify
topsrcdir=$1
qpidd=$2
exclude_regexp=$3
-
-python=$topsrcdir/python
+python=${QPID_PYTHON_DIR:-$topsrcdir/python}
trap "$qpidd -q" exit
export QPID_PORT=`$qpidd -dp0 --data-dir "" --auth no` || { echo "Can't run qpidd" ; exit 1; }
export PYTHON_EXAMPLES=$python/examples
export PYTHONPATH=$python:$PYTHONPATH
-export AMQP_SPEC=$topsrcdir/specs/amqp.0-10.xml
-test -d $PYTHON_EXAMPLES || echo "Warning: not verifying python examples, $PYTHON_EXAMPLES not found"
+test -d $PYTHON_EXAMPLES || echo "WARNING: No python examples. $PYTHON_EXAMPLES not found."
find="find examples"
test -d $PYTHON_EXAMPLES && find="$find $PYTHON_EXAMPLES"
find="$find -name verify"