summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/run.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-17 20:14:21 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-17 20:14:21 +0000
commit3b775eb1d9e986f6cb6136ea36089d19988d18b2 (patch)
tree7a5c0e1340fd6188993e6d1ad8e72ae6beaf2036 /cpp/test/IceUtil/thread/run.py
parentbug fix (diff)
downloadice-3b775eb1d9e986f6cb6136ea36089d19988d18b2.tar.bz2
ice-3b775eb1d9e986f6cb6136ea36089d19988d18b2.tar.xz
ice-3b775eb1d9e986f6cb6136ea36089d19988d18b2.zip
test script now halt in case of an error
Diffstat (limited to 'cpp/test/IceUtil/thread/run.py')
-rwxr-xr-xcpp/test/IceUtil/thread/run.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/test/IceUtil/thread/run.py b/cpp/test/IceUtil/thread/run.py
index 65e6bae69c9..8008dba29e9 100755
--- a/cpp/test/IceUtil/thread/run.py
+++ b/cpp/test/IceUtil/thread/run.py
@@ -36,4 +36,9 @@ if not output:
print "ok"
print output
+clientStatus = clientPipe.close()
+
+if clientStatus:
+ sys.exit(1)
+
sys.exit(0)