From d8708b797ed7fe8a2cdb3625d0ee04927f4c0fe3 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Thu, 20 Mar 2008 00:14:54 +0000 Subject: This commit is associated with JIRA QPID-859 The verify script is modfified to start and stop the c++ broker for each test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@639098 13f79535-47bb-0310-9956-ffa450edef68 --- java/client/example/bin/verify_all | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'java') diff --git a/java/client/example/bin/verify_all b/java/client/example/bin/verify_all index e4bed434c8..5b90f708eb 100644 --- a/java/client/example/bin/verify_all +++ b/java/client/example/bin/verify_all @@ -10,6 +10,14 @@ 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 +run_broker(){ + $QPID_SRC_HOME/cpp/src/qpidd -d --no-data-dir +} + +stop_broker(){ + $QPID_SRC_HOME/cpp/src/qpidd -q +} + QPID_LIBS=`find $QPID_SRC_HOME/java/build/lib -name '*.jar' | tr '\n' ":"` export CLASSPATH=$QPID_LIBS:$CLASSPATH @@ -17,10 +25,10 @@ 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 + run_broker $verify $script + stop_broker done done -- cgit v1.2.1