summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_ext.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30132: distutils BuildExtTestCase use temp_cwd (#1387)Victor Stinner2017-05-021-0/+7
| | | | | | | | | | | BuildExtTestCase of test_distutils now uses support.temp_cwd() in setUp() to remove files created in the current working in all BuildExtTestCase unit tests, not only test_build_ext(). Fix the following warning: Warning -- files was modified by test_distutils Before: [] After: ['vc140.pdb']
* Issue 26931: Skip the test_distutils tests using a compiler executableXavier de Gaye2016-11-171-0/+6
| | | | that is not found
* merge 3.5 (#1703178)Benjamin Peterson2016-09-291-0/+7
|\
| * build_ext: correctly parse the link_objects user option (closes #1703178)Benjamin Peterson2016-09-291-0/+7
| | | | | | | | Patch by Valerie Lambert.
* | Issue #23804: Merge spelling and NEWS fixes from 3.5Martin Panter2016-07-111-1/+1
|\ \ | |/
| * English spelling and grammar fixesMartin Panter2016-07-111-1/+1
| |
* | Issue #27171: Merge typo fixes from 3.5Martin Panter2016-06-021-1/+1
|\ \ | |/
| * Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
| |
* | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
|/
* Issue #5309: distutils' build and build_ext commands now accept a ``-j``Antoine Pitrou2014-09-261-21/+35
| | | | option to enable parallel building of extension modules.
* remove various dead version checks (closes #22349)Benjamin Peterson2014-09-061-11/+9
| | | | Patch from Thomas Kluyver.
* Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.Ned Deily2014-06-251-2/+10
|
* Issue #19492: Silently skipped distutils tests now reported as skipped.Serhiy Storchaka2013-12-181-6/+2
|
* Issue #19600: Use specific asserts in distutils tests.Serhiy Storchaka2013-11-161-8/+8
|
* - Issue #16754: Fix the incorrect shared library extension on linux. Introducedoko@ubuntu.com2013-03-211-4/+4
| | | | | two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
* Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-2/+3
| | | | --without-doc-strings.
* Fix test failure for shared builds caused by #1326113 fixÉric Araujo2012-02-151-1/+2
|
* Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-151-6/+6
|
* Fix distutils tests on Windows (#12678).Éric Araujo2011-08-231-7/+0
| | | | | | | | | | | | | | | | | | - 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.
* Factor out the build_ext fixup for shared Python builds.Éric Araujo2011-08-211-25/+6
| | | | I need this to fix the failing test_install.
* Refactor the copying of xxmodule.c in distutils tests (#12141).Éric Araujo2011-08-201-24/+4
| | | | | | | | | I need to copy this file in another test too, so I moved the support code to distutils.tests.support and improved it: - don’t skip when run from the Lib/distutils/tests directory - use proper skip machinery instead of custom print/return/test suite fiddling.
* Issue #9516: Correct and expand OS X deployment target tests in distutilsNed Deily2011-06-291-10/+37
| | | | test_build_ext.
* Issue #12141: Install a copy of template C module file so thatNed Deily2011-06-281-1/+10
| | | | | test_build_ext of test_distutils is no longer silently skipped when run outside of a build directory.
* Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set ↵Ronald Oussoren2011-05-151-0/+62
| | | | | | | | | in shell. Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-24/+24
|
* Issue #10359: Remove ";" after function definition, invalid in ISO CVictor Stinner2010-11-091-1/+1
|
* Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)Éric Araujo2010-11-061-0/+1
|
* Only hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested bothBarry Warsaw2010-10-221-1/+2
| | | | | with and without --enable-shared on Ubuntu 10.10. Hopefully this finally solves bug 10126. Will check 3.1 next.
* Apply fix from r85784 on py3k too.Éric Araujo2010-10-211-2/+6
| | | | | | | Fixes bug #10126 for Python 3.2 by using $RUNSHARED to find the directory to the shared library. test_distutils now passes when Python was built with --enable-shared (Barry didn’t have the error but I did).
* First (uncontroversial) part of issue 9807.Barry Warsaw2010-10-161-5/+21
| | | | | | | | | * Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y<abiflags>.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues.
* PEP 3149 is accepted.Barry Warsaw2010-09-031-4/+3
| | | | http://mail.python.org/pipermail/python-dev/2010-September/103408.html
* reverted distutils its 3.1 state. All new work is now happening in ↵Tarek Ziadé2010-07-221-54/+28
| | | | disutils2, and distutils is now feature-frozen.
* Change test_support to support. Fixes a failing test on Windows.Brian Curtin2010-04-021-1/+1
|
* Merged revisions 79618 via svnmerge fromTarek Ziadé2010-04-021-18/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79618 | tarek.ziade | 2010-04-02 23:14:04 +0200 (Fri, 02 Apr 2010) | 1 line removed the local copy of xxmodule, and skip only test_build_ext when xxmodule is not found, not the whole unittest ........
* Merged revisions 77704,77752 via svnmerge fromTarek Ziadé2010-01-291-9/+8
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line taking sysconfig out of distutils ........ r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line switched the call order so this call works without suffering from issue #7774 ........
* Merged revisions 75485 via svnmerge fromTarek Ziadé2009-10-181-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75485 | tarek.ziade | 2009-10-18 11:28:26 +0200 (Sun, 18 Oct 2009) | 1 line Changed distutils tests to avoid environment alteration ........
* Merged revisions 73946 via svnmerge fromTarek Ziadé2009-07-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit' ........
* Merged revisions 73921 via svnmerge fromTarek Ziadé2009-07-101-4/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73921 | tarek.ziade | 2009-07-10 11:10:33 +0200 (Fri, 10 Jul 2009) | 1 line Fixed #6455 (the test shall use pyd files under win32, rather than so files) ........
* Merged revisions 73895 via svnmerge fromTarek Ziadé2009-07-081-1/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73895 | tarek.ziade | 2009-07-09 00:40:51 +0200 (Thu, 09 Jul 2009) | 1 line Sets the compiler attribute to keep the old behavior for third-party packages. ........
* Merged revisions 73864 via svnmerge fromTarek Ziadé2009-07-061-0/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73864 | tarek.ziade | 2009-07-06 14:50:46 +0200 (Mon, 06 Jul 2009) | 1 line Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option) ........
* Merged revisions 73790 via svnmerge fromTarek Ziadé2009-07-031-6/+31
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73790 | tarek.ziade | 2009-07-03 10:22:56 +0200 (Fri, 03 Jul 2009) | 1 line Fixed #6403 : package path usage for build_ext ........
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-15/+15
|
* Merged revisions 73688 via svnmerge fromTarek Ziadé2009-06-291-3/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73688 | tarek.ziade | 2009-06-29 18:13:39 +0200 (Mon, 29 Jun 2009) | 1 line Fixed 6365: wrong inplace location for build_ext if the extension had dots ........
* Merged revisions 72781 via svnmerge fromTarek Ziadé2009-05-191-0/+22
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72781 | tarek.ziade | 2009-05-19 18:17:21 +0200 (Tue, 19 May 2009) | 1 line fixed the 'package' option of build_ext ........
* Merged revisions 72758 via svnmerge fromTarek Ziadé2009-05-181-7/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72758 | tarek.ziade | 2009-05-18 10:03:37 +0200 (Mon, 18 May 2009) | 1 line Fixed the library extension when distutils build_ext is used inplace ........
* Merged revisions 72713 via svnmerge fromTarek Ziadé2009-05-171-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72713 | tarek.ziade | 2009-05-17 12:07:48 +0200 (Sun, 17 May 2009) | 1 line not running this test with MSVC6 ........
* Merged revisions 72636 via svnmerge fromTarek Ziadé2009-05-141-4/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72636 | tarek.ziade | 2009-05-14 22:14:13 +0200 (Thu, 14 May 2009) | 1 line #6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd ........
* Merged revisions 72610,72612 via svnmerge fromTarek Ziadé2009-05-131-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72610 | tarek.ziade | 2009-05-13 23:30:06 +0200 (Wed, 13 May 2009) | 1 line added an inifoo in the C file, to avoid a warning by the MSVC9 linker ........ r72612 | tarek.ziade | 2009-05-14 00:16:03 +0200 (Thu, 14 May 2009) | 1 line adding void to the c function ........
* Merged revisions 72585 via svnmerge fromTarek Ziadé2009-05-121-3/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72585 | tarek.ziade | 2009-05-12 19:07:14 +0200 (Tue, 12 May 2009) | 1 line fixed #5977: distutils build_ext.get_outputs was not using the inplace option ........
* Merged revisions 72552 via svnmerge fromTarek Ziadé2009-05-101-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72552 | tarek.ziade | 2009-05-10 23:27:55 +0200 (Sun, 10 May 2009) | 1 line fixed test_build_ext for win32 ........