diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-03-18 20:23:46 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-03-18 20:23:46 +0000 |
| commit | 6717d8c90babee06ba092c521e555d07a3b94278 (patch) | |
| tree | 91ad9fc1e83f6f672603721b37a80e9134edf048 /qpid/java/client/example/bin | |
| parent | 92eef95df1583fb6a8d9d7df6e17101bdf6d1cfd (diff) | |
| download | qpid-python-6717d8c90babee06ba092c521e555d07a3b94278.tar.gz | |
This commit is for QPID-859
The verify_all script will run all verify scripts under each example
Following is a description of each script type
==============================================
verify - runs java producer and consumer.
verify_java_python - runs java producer and python consumer
verify_python_java - runs python consumer and java consumer
verify_cpp_java - runs cpp producer and java consumer
verify_java_cpp - runs java producer and cpp consumer
The xxx.in file contains the expected output.
It will be compared against the output of the test to determine any failures.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@638553 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client/example/bin')
| -rw-r--r-- | qpid/java/client/example/bin/verify_all | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/qpid/java/client/example/bin/verify_all b/qpid/java/client/example/bin/verify_all new file mode 100644 index 0000000000..e4bed434c8 --- /dev/null +++ b/qpid/java/client/example/bin/verify_all @@ -0,0 +1,26 @@ +#!/bin/sh +# This script assumes QPID_SRC_HOME is set . + +if [[ "x$QPID_SRC_HOME" = "x" ]]; then + echo "WARNING >>> QPID_SRC_HOME needs to be set " + exit +fi + +export CPP=$QPID_SRC_HOME/cpp/examples/examples +export PYTHON=$QPID_SRC_HOME/python/examples +export JAVA=$QPID_SRC_HOME/java/client/example/src/main/java/org/apache/qpid/example/jmsexample + +QPID_LIBS=`find $QPID_SRC_HOME/java/build/lib -name '*.jar' | tr '\n' ":"` +export CLASSPATH=$QPID_LIBS:$CLASSPATH + +verify=$QPID_SRC_HOME/cpp/examples/verify + +for dir in $(find $JAVA/ -maxdepth 1 -type d -not -name '*.svn') +do + #echo "Dir" $dir + for script in $(find $dir -maxdepth 1 -type f -name 'verify*' -not -name '*.*') + do + #echo "Script" $script + $verify $script + done +done |
