summaryrefslogtreecommitdiff
path: root/java/config/TestUtil.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-03-05 20:14:29 +0000
committerBernard Normier <bernard@zeroc.com>2004-03-05 20:14:29 +0000
commitffe671e25ee7d4378aae1f817404152755406984 (patch)
tree205bf18739f25c16ad9169975b2ea1cc1e306cc6 /java/config/TestUtil.py
parentWin9x fixes/additions (diff)
downloadice-ffe671e25ee7d4378aae1f817404152755406984.tar.bz2
ice-ffe671e25ee7d4378aae1f817404152755406984.tar.xz
ice-ffe671e25ee7d4378aae1f817404152755406984.zip
Minor fixes
Diffstat (limited to 'java/config/TestUtil.py')
-rw-r--r--java/config/TestUtil.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/config/TestUtil.py b/java/config/TestUtil.py
index 709cc3eee7d..5a1fe045e7c 100644
--- a/java/config/TestUtil.py
+++ b/java/config/TestUtil.py
@@ -44,6 +44,15 @@ def isWin32():
return 1
else:
return 0
+
+def isWin9x():
+
+ if isWin32():
+ if os.environ.has_key("OS") and os.environ["OS"] == "Windows_NT":
+ return 0
+ return 1
+ else:
+ return 0
# Only used for C++ programs
serverPids = []