summaryrefslogtreecommitdiff
path: root/java/config/TestUtil.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-05-02 03:23:59 +0000
committerMark Spruiell <mes@zeroc.com>2002-05-02 03:23:59 +0000
commita35852f96251301833f82b59d054f0a5d7bc9b4f (patch)
tree681d93d6ca53fa4f918a538d9fe928dd3f77dff3 /java/config/TestUtil.py
parentminor fixes (diff)
downloadice-a35852f96251301833f82b59d054f0a5d7bc9b4f.tar.bz2
ice-a35852f96251301833f82b59d054f0a5d7bc9b4f.tar.xz
ice-a35852f96251301833f82b59d054f0a5d7bc9b4f.zip
enable assertions
Diffstat (limited to 'java/config/TestUtil.py')
-rw-r--r--java/config/TestUtil.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/config/TestUtil.py b/java/config/TestUtil.py
index 655e9a92bee..617628413f4 100644
--- a/java/config/TestUtil.py
+++ b/java/config/TestUtil.py
@@ -115,8 +115,8 @@ def clientServerTest(toplevel, name):
testdir = os.path.join(toplevel, "test", name)
classpath = os.path.join(toplevel, "lib") + sep + os.path.join(testdir, "classes") + sep + os.environ['CLASSPATH']
- server = "java -classpath \"" + classpath + "\" Server "
- client = "java -classpath \"" + classpath + "\" Client "
+ server = "java -ea -classpath \"" + classpath + "\" Server "
+ client = "java -ea -classpath \"" + classpath + "\" Client "
updatedServerOptions = serverOptions.replace("TOPLEVELDIR", toplevel)
updatedClientOptions = clientOptions.replace("TOPLEVELDIR", toplevel)
@@ -144,8 +144,8 @@ def mixedClientServerTest(toplevel, name):
testdir = os.path.join(toplevel, "test", name)
classpath = os.path.join(toplevel, "lib") + sep + os.path.join(testdir, "classes") + sep + os.environ['CLASSPATH']
- server = "java -classpath \"" + classpath + "\" Server "
- client = "java -classpath \"" + classpath + "\" Client "
+ server = "java -ea -classpath \"" + classpath + "\" Server "
+ client = "java -ea -classpath \"" + classpath + "\" Client "
updatedServerOptions = clientServerOptions.replace("TOPLEVELDIR", toplevel)
updatedClientOptions = updatedServerOptions
@@ -173,7 +173,7 @@ def collocatedTest(toplevel, name):
testdir = os.path.join(toplevel, "test", name)
classpath = os.path.join(toplevel, "lib") + sep + os.path.join(testdir, "classes") + sep + os.environ['CLASSPATH']
- collocated = "java -classpath \"" + classpath + "\" Collocated "
+ collocated = "java -ea -classpath \"" + classpath + "\" Collocated "
updatedCollocatedOptions = collocatedOptions.replace("TOPLEVELDIR", toplevel)