aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/packaging/tests/test_command_build_ext.py
Commit message (Collapse)AuthorAge
* Remove packaging from the standard library.Éric Araujo2012-06-24
| | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* Fix for packaging test failure on shared builds (#1326113)Éric Araujo2012-02-15
|
* Fix parsing of packaging’s build_ext --libraries option (#1326113)Éric Araujo2012-02-15
|
* Clean up mocking of stdout and stdin in packaging tests.Éric Araujo2011-11-06
| | | | | | | | Running with regrtest does not show spurious output or unrestored sys.std* objects; sometimes running with make test is different, I’ll watch the buildbots. In addition, update the create module to use logging.
* Final bag of small changes coming from distutils2.Éric Araujo2011-09-19
| | | | | | | | | - minor cleanup in Metadata - trigger creation of the sysconfig._CONFIG_VARS dict - home_page is used over home-page: it’s not a compound word, it’s an escaped space Distutils2 is now synchronized with Packaging.
* Branch mergeÉric Araujo2011-09-18
|\
| * Packaging cleanup: remove conditionals for < 2.6 support.Éric Araujo2011-09-17
| | | | | | | | | | | | | | | | PEP 370 features and sys.dont_write_bytecode are always available in 3.3; the distutils2 backport still has the conditionals. I also renamed an internal misnamed method and fixed a few things (“packaging2” name, stray print, unused import, fd leak).
* | Make a number of small changes to ease the backport to distutils2Éric Araujo2011-09-18
|/
* Try to fix packaging tests using build_ext on Windows (#12678)Éric Araujo2011-08-23
|
* Factor out the build_ext fixup for shared Python builds.Éric Araujo2011-08-21
| | | | I need this to fix the failing test_command_install_dist.
* Remove obsolete codeÉric Araujo2011-08-21
|
* Refactor the copying of xxmodule.c in packaging tests (#12141).Éric Araujo2011-08-20
| | | | | | | | | | | I need to copy this file in another test too, so I moved the support code to distutils.tests.support and improved it to use proper skip machinery instead of custom print/return/test suite fiddling. Contrary to my similar change in distutils tests, I did not add support for finding xxmodule.c when running a test from the tests directory, because in that case my compiler didn’t find Python.h, so I figured it’s better to skip than to fail.
* Issue #9516: Port OS X deployment target tests from distutils to packagingNed Deily2011-06-28
| | | | test_command_build_ext.
* Issue #12141: Install copies of template C module file so thatNed Deily2011-06-28
| | | | | | test_build_ext of test_distutils and test_command_build_ext of test_packaging are no longer silently skipped when run outside of a build directory.
* Brange mergeÉric Araujo2011-06-17
|\
| * Minor tweaks to packaging tests.Éric Araujo2011-06-17
| | | | | | | | | | | | - Move a tearDown method right after setUp - Use assertRaises instead of reinventing it - Skip a test instead of commenting it out, as a reminder
| * Stop binding sys.path as default parameter value in packaging.Éric Araujo2011-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | The two public functions in database default to sys.path if the given *paths* argument is None; the private functions don’t have default values for their arguments anymore, which is fine as the public functions that call them pass their arguments down. Likewise in install, the functions will pass down their *paths* arguments down to database functions. A one-line unneeded function in install was removed instead of being changed, and the few remaining tests that used brute-force restoration of sys.path have been cleaned up to use sys.path.remove.
* | Issue #12333: run tests on the new module in a subprocessVictor Stinner2011-06-17
|/ | | | | | | | | | | | It is not possible to unload a module written in C, so use a subprocess to run the tests on the module compiled by test_build_ext(). Using a subprocess, we don't have to unload the module, save/restore sys.path, and the test can be run more than once. This commit fixes also an access error on rmtree() on Windows: because the module was not really unloaded, it was not possible to remove the temporary directory (it is not possible to remove a directory on Windows if it still contains an open file).
* Fix test name in debug messageÉric Araujo2011-05-31
|
* Port r86353 to packaging (#10359: “;” after function definition is ↵Éric Araujo2011-05-29
| | | | invalid in ISO C)
* Issue 12132 - skip the test_buil_ext test if the xx module is not foundTarek Ziade2011-05-22
|
* Issue 10126 - backported distutils fix for the enable-share mode into packagingTarek Ziade2011-05-22
|
* fixed the export symbols for the win32 linkerTarek Ziade2011-05-21
|
* initial import of the packaging package in the standard libraryTarek Ziade2011-05-19