summaryrefslogtreecommitdiff
path: root/python/test/Slice/import/run.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2015-09-15 16:48:21 -0230
committerDwayne Boone <dwayne@zeroc.com>2015-09-15 16:48:21 -0230
commit69e03dfb1c7fa26d2bc8a571bc773994607eb01d (patch)
treefc68108175e39e6912c9edfc67e64eb625c70c6d /python/test/Slice/import/run.py
parentICE-6792 python tests no longer require make/nmake (diff)
downloadice-69e03dfb1c7fa26d2bc8a571bc773994607eb01d.tar.bz2
ice-69e03dfb1c7fa26d2bc8a571bc773994607eb01d.tar.xz
ice-69e03dfb1c7fa26d2bc8a571bc773994607eb01d.zip
ICE-6792 fix for test failure on linux
Diffstat (limited to 'python/test/Slice/import/run.py')
-rwxr-xr-xpython/test/Slice/import/run.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/test/Slice/import/run.py b/python/test/Slice/import/run.py
index 02a58b177d9..2594c964085 100755
--- a/python/test/Slice/import/run.py
+++ b/python/test/Slice/import/run.py
@@ -41,8 +41,10 @@ if os.environ.get("USE_BIN_DIST", "no") == "yes":
else:
slice2py = os.path.join(path[0], "python", "config", "s2py.py")
-subprocess.call([sys.executable, slice2py, "Test1.ice"])
-subprocess.call([sys.executable, slice2py, "Test2.ice"])
+s2p = TestUtil.spawn(sys.executable + " " + slice2py + " Test1.ice")
+s2p.waitTestSuccess()
+s2p = TestUtil.spawn(sys.executable + " " + slice2py + " Test2.ice")
+s2p.waitTestSuccess()
sys.stdout.write("starting client... ")
sys.stdout.flush()