diff options
author | Thomas Heller <theller@ctypes.org> | 2008-05-26 11:51:44 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2008-05-26 11:51:44 (GMT) |
commit | 84b7f0cd4184420c2f08acff6b0c6ef9888a1f21 (patch) | |
tree | f56b898722d8f7154a4ce7b2b9cf4869633ab0aa /Lib | |
parent | 38eceaaf0c207709cfbb44c7a1b9715699622848 (diff) | |
download | cpython-84b7f0cd4184420c2f08acff6b0c6ef9888a1f21.zip cpython-84b7f0cd4184420c2f08acff6b0c6ef9888a1f21.tar.gz cpython-84b7f0cd4184420c2f08acff6b0c6ef9888a1f21.tar.bz2 |
Merged revisions 63670 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63670 | thomas.heller | 2008-05-26 13:42:40 +0200 (Mo, 26 Mai 2008) | 4 lines
On Windows, we must build a debug version iff running a debug build of
Python
........
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/tests/test_build_ext.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py index 96c0a23..20c1074 100644 --- a/Lib/distutils/tests/test_build_ext.py +++ b/Lib/distutils/tests/test_build_ext.py @@ -28,6 +28,10 @@ class BuildExtTestCase(unittest.TestCase): dist = Distribution({'name': 'xx', 'ext_modules': [xx_ext]}) dist.package_dir = self.tmp_dir cmd = build_ext(dist) + if os.name == "nt": + # On Windows, we must build a debug version iff running + # a debug build of Python + cmd.debug = sys.executable.endswith("_d.exe") cmd.build_lib = self.tmp_dir cmd.build_temp = self.tmp_dir |