summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_dir_util.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-23 23:29:10 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-23 23:29:10 (GMT)
commitc3085aa77b123e8eb56e0f215d56ff11e3a99985 (patch)
tree9f26d6878443fc0b055dc84c4ec32e155b100d27 /Lib/distutils/tests/test_dir_util.py
parentce9da2ffa6fefe772f1a4209f01ef12e7d5d8cc5 (diff)
downloadcpython-c3085aa77b123e8eb56e0f215d56ff11e3a99985.zip
cpython-c3085aa77b123e8eb56e0f215d56ff11e3a99985.tar.gz
cpython-c3085aa77b123e8eb56e0f215d56ff11e3a99985.tar.bz2
Fix distutils tests on Windows (#12678).
- First, support.fixup_build_ext (already used to set proper library_dirs value under Unix shared builds) gains the ability to correctly set the debug attribute under Windows debug builds. - Second, the filename for the extension module gets a _d suffix under debug builds. - Third, the test code properly puts our customized build_ext object into an internal dictionary to make sure that the install command will later use our object instead of re-creating one. That’s the downside of using low-level APIs in our test code: we have to manually push knobs and turn handles that would otherwise be handled behind the scenes. Thanks to Nadeem for the testing.
Diffstat (limited to 'Lib/distutils/tests/test_dir_util.py')
0 files changed, 0 insertions, 0 deletions