summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2001-12-06 18:13:13 +0000
committerMatthew Newhook <matthew@zeroc.com>2001-12-06 18:13:13 +0000
commit4758a70b1dfd8477f7e467ed19e74a865c96c7ab (patch)
treee8e0269445e1fbd312a08e8ae60a372a26d61cb1 /cpp/config/TestUtil.py
parentAdded test/IceStorm/single to project. (diff)
downloadice-4758a70b1dfd8477f7e467ed19e74a865c96c7ab.tar.bz2
ice-4758a70b1dfd8477f7e467ed19e74a865c96c7ab.tar.xz
ice-4758a70b1dfd8477f7e467ed19e74a865c96c7ab.zip
cygwin python update.
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 3f2f4b62c4e..3f9c13fe692 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -36,7 +36,11 @@ def killServers():
global serverPids
for pid in serverPids:
- if sys.platform == "cygwin" or sys.platform == "win32":
+ if sys.platform == "cygwin":
+ print "killServers(): not implemented for cygwin python"
+ sys.exit(1)
+
+ if sys.platform == "win32":
import win32api
handle = win32api.OpenProcess(1, 0, pid)
return (0 != win32api.TerminateProcess(handle, 0))