diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-03-20 00:14:54 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-03-20 00:14:54 +0000 |
commit | d8708b797ed7fe8a2cdb3625d0ee04927f4c0fe3 (patch) | |
tree | 60a5ba7eced032b8bf73c4131e49c8b2dbb4726e | |
parent | d83087cd31cc19dc03479be6f6cb26decf82db19 (diff) | |
download | qpid-python-d8708b797ed7fe8a2cdb3625d0ee04927f4c0fe3.tar.gz |
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
-rw-r--r-- | java/client/example/bin/verify_all | 12 |
1 files changed, 10 insertions, 2 deletions
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 |