run-test: revert most of 439ed4721a6d, timeout uses fallback for terminate() stable
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 30 Jun 2011 16:36:38 +0200
branchstable
changeset 971 87b7569d7404
parent 970 e42946273064
child 972 0d4e44410b4d
child 974 004f1f2dc06e
run-test: revert most of 439ed4721a6d, timeout uses fallback for terminate() [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Thu Jun 30 16:25:05 2011 +0200
+++ b/tests/run-tests.py	Thu Jun 30 16:36:38 2011 +0200
@@ -259,10 +259,6 @@
             sys.stderr.write(
                 'warning: --timeout option ignored with --debug\n')
         options.timeout = 0
-    if options.timeout and not hasattr(subprocess.Popen, 'terminate'):
-        sys.stderr.write('warning: timeout is not supported on this '
-                         'platform and will be ignored\n')
-        options.timeout = 0
     if options.py3k_warnings:
         if sys.version_info[:2] < (2, 6) or sys.version_info[:2] >= (3, 0):
             parser.error('--py3k-warnings can only be used on Python 2.6+')