summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-07-06 00:43:46 +0000
committerMichi Henning <michi@zeroc.com>2004-07-06 00:43:46 +0000
commite78ff8939bb93e0482fc20eae3843f654198f0ef (patch)
tree26cd637b5117882a1b246628ec1d4b234c384c0b /cpp/config/TestUtil.py
parentRemoved exit(1) for killServers under Cygwin. (diff)
downloadice-e78ff8939bb93e0482fc20eae3843f654198f0ef.tar.bz2
ice-e78ff8939bb93e0482fc20eae3843f654198f0ef.tar.xz
ice-e78ff8939bb93e0482fc20eae3843f654198f0ef.zip
Removed exit(1) for killServers() under Cygwin.
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 726b6afb36c..99e16091eca 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -110,11 +110,19 @@ def killServers():
global serverPids
+ if isCygwin():
+ print "killServers(): not implemented for cygwin python."
+
+ #
+ # TODO: Michi: Not sure why exit(1) was here. This means that, when
+ # we run the test suite with allTests.py under Cygwin, the first sub-test that
+ # calls killServers will return non-zero exit status and, therefore,
+ # terminate allTests.py, so the subsequence tests are never run.
+ #
+ #sys.exit(1)
+
for pid in serverPids:
- if isCygwin():
- print "killServers(): not implemented for cygwin python."
- sys.exit(1)
- elif isWin32():
+ if isWin32():
try:
import win32api
handle = win32api.OpenProcess(1, 0, pid)