summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/logger/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/logger/run.py')
-rwxr-xr-xcpp/test/Ice/logger/run.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/Ice/logger/run.py b/cpp/test/Ice/logger/run.py
index f7c35cf1865..d6fea12d617 100755
--- a/cpp/test/Ice/logger/run.py
+++ b/cpp/test/Ice/logger/run.py
@@ -30,15 +30,15 @@ def test(cmd, match, enc):
if out.decode(enc).find(match.decode(enc)) == -1:
raise RuntimeError("test failed")
-TestUtil.simpleTest(os.path.join(os.getcwd(), "client1"))
+TestUtil.simpleTest(os.path.join(os.getcwd(), TestUtil.getTestExecutable("client1")))
env = TestUtil.getTestEnv("cpp", os.getcwd())
sys.stdout.write("testing logger ISO-8859-15 output... ")
-test(os.path.join(os.getcwd(), "client2"), b'aplicaci\xf3n', "ISO-8859-15")
+test(os.path.join(os.getcwd(), TestUtil.getTestExecutable("client2")), b'aplicaci\xf3n', "ISO-8859-15")
print("ok")
sys.stdout.write("testing logger UTF8 output without string converter... ")
-test(os.path.join(os.getcwd(), "client3"), b'aplicaci\xc3\xb3n', "UTF8")
+test(os.path.join(os.getcwd(), TestUtil.getTestExecutable("client3")), b'aplicaci\xc3\xb3n', "UTF8")
print("ok")
sys.stdout.write("testing logger UTF8 output with ISO-8859-15 narrow string converter... ")
@@ -48,7 +48,7 @@ sys.stdout.write("testing logger UTF8 output with ISO-8859-15 narrow string conv
# encoding used by the application.
#
if TestUtil.isWin32():
- test(os.path.join(os.getcwd(), "client4"), b'aplicaci\xc3\xb3n', "UTF8")
+ test(os.path.join(os.getcwd(), TestUtil.getTestExecutable("client4")), b'aplicaci\xc3\xb3n', "UTF8")
else:
- test(os.path.join(os.getcwd(), "client4"), b'aplicaci\xf3n', "ISO-8859-15")
+ test(os.path.join(os.getcwd(), TestUtil.getTestExecutable("client4")), b'aplicaci\xf3n', "ISO-8859-15")
print("ok")