From eac0911169b24e708637572fe6b5a8283b3f49e0 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Tue, 18 Mar 2008 20:23:46 +0000 Subject: 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/qpid@638553 13f79535-47bb-0310-9956-ffa450edef68 --- java/client/example/bin/verify_all | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 java/client/example/bin/verify_all (limited to 'java/client/example/bin/verify_all') diff --git a/java/client/example/bin/verify_all b/java/client/example/bin/verify_all new file mode 100644 index 0000000000..e4bed434c8 --- /dev/null +++ b/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 -- cgit v1.2.1