summaryrefslogtreecommitdiff
path: root/cpp/test/IceStorm/repstress/run.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-11-17 20:43:38 +0100
committerJose <jose@zeroc.com>2009-11-17 20:43:38 +0100
commitc031a4c25d63772bae29fce314233910cc9402b3 (patch)
treef610dc9c75686ff3e11f58b8f7a6eae6c4c109b6 /cpp/test/IceStorm/repstress/run.py
parentMinor fix to cookbook/compression to compile on x64 (diff)
downloadice-c031a4c25d63772bae29fce314233910cc9402b3.tar.bz2
ice-c031a4c25d63772bae29fce314233910cc9402b3.tar.xz
ice-c031a4c25d63772bae29fce314233910cc9402b3.zip
4166 - Investigate appverifier (Added support to run test suite with it)
Diffstat (limited to 'cpp/test/IceStorm/repstress/run.py')
-rwxr-xr-xcpp/test/IceStorm/repstress/run.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/test/IceStorm/repstress/run.py b/cpp/test/IceStorm/repstress/run.py
index 0248a86e982..e3a8ca2b746 100755
--- a/cpp/test/IceStorm/repstress/run.py
+++ b/cpp/test/IceStorm/repstress/run.py
@@ -24,6 +24,12 @@ publisher = os.path.join(os.getcwd(), "publisher")
subscriber = os.path.join(os.getcwd(), "subscriber")
control = os.path.join(os.getcwd(), "control")
+targets = []
+if TestUtil.appverifier:
+ targets = [TestUtil.getIceBox(), publisher, subscriber, control, TestUtil.getIceBoxAdmin(), \
+ TestUtil.getIceStormAdmin()]
+ TestUtil.setAppVerifierSettings(targets, cwd = os.getcwd())
+
def runcontrol(proxy):
proc = TestUtil.startClient(control, ' "%s"' % proxy)
proc.waitTestSuccess()
@@ -115,3 +121,5 @@ print "ok"
print "publisher published %s events, subscriber received %s events" % (publisherCount, subscriberCount)
+if TestUtil.appverifier:
+ TestUtil.appVerifierAfterTestEnd(targets, cwd = os.getcwd())