Message138269
| Author |
ned.deily |
| Recipients |
alexis, eric.araujo, nadeem.vawda, ned.deily, pitrou, tarek |
| Date |
2011年06月13日.19:02:42 |
| SpamBayes Score |
2.0502943e-08 |
| Marked as misclassified |
No |
| Message-id |
<1307991763.17.0.967615451377.issue12141@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here are patches to install a copy of xxmodule.c in the distutils tests directory (for 3.3, 3.2, and 2.7) and a copy in packaging tests for 3.3. With them in place, test_build_ext/test_command_build_ext now executes when the tests are run from an installed Python where no source directory is available and each test case run copies the c file into its temp dir.
Currently, those test are being silently skipped in the installed case or, worse, picking up the wrong version of xxmodule.c depending on what sysconfig.get_config_vars('srcdir') returns (this happened to me when I reused a source directory name in some builds). For 3.2, a patch is included to backport the Distutils part of the fix for issue12132. |
|