summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/distribution/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/distribution/run.py')
-rwxr-xr-xcpp/test/IceGrid/distribution/run.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/test/IceGrid/distribution/run.py b/cpp/test/IceGrid/distribution/run.py
index c4a27750436..d3b61508879 100755
--- a/cpp/test/IceGrid/distribution/run.py
+++ b/cpp/test/IceGrid/distribution/run.py
@@ -21,8 +21,11 @@ sys.path.append(os.path.join(path[0]))
from scripts import *
def icepatch2Calc(datadir, dirname):
-
- icePatch2Calc = os.path.join(TestUtil.getCppBinDir(), "icepatch2calc")
+ icePatch2Calc = ""
+ if TestUtil.isNoServices():
+ icePatch2Calc = os.path.join(TestUtil.getServiceDir(), "icepatch2calc")
+ else:
+ icePatch2Calc = os.path.join(TestUtil.getCppBinDir(), "icepatch2calc")
commandProc = TestUtil.spawn(icePatch2Calc + " " + os.path.join(datadir, dirname))
commandProc.waitTestSuccess()