Commit ffe43726 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix a testsuite driver failure on cygwin

parent 856e9165
...@@ -10,6 +10,17 @@ import platform ...@@ -10,6 +10,17 @@ import platform
import time import time
import re import re
# We don't actually need subprocess in runtests.py, but:
# * We do need it in testlibs.py
# * We can't import testlibs.py until after we have imported ctypes
# * If we import ctypes before subprocess on cygwin, then sys.exit(0)
# says "Aborted" and we fail with exit code 134.
# So we import it here first, so that the testsuite doesn't appear to fail.
try:
import subprocess
except:
pass
from testutil import * from testutil import *
from testglobals import * from testglobals import *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment