Commit Graph

13 Commits

Author SHA1 Message Date
Jesus Cea c6072d8675 Issue #12333: fix test_distutils failures under Solaris and derivatives. Patch by Antoine Pitrou 2011-09-09 18:50:59 +02:00
Éric Araujo 288ebb446e Add FIXME note as a reminder 2011-08-26 16:35:19 +02:00
Éric Araujo 04612d6092 Refactor helpers for compiling the xx module in distutils tests.
I need to copy the xxmodule.c file in other tests, 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.

I also took out the fixup_build_ext function, which is needed for tests
to pass on Unix shared builds and Windows debug builds.

Finally, I cleaned up a few things:
- don’t remove directories in tearDown when the parent class’ tearDown
  has already registered the directories for removal
- simplify restoration of sys.path
- remove a few unused names found by pyflakes.
2011-08-26 01:56:15 +02:00
Tarek Ziadé 5633a8048f taking sysconfig out of distutils 2010-01-23 09:23:15 +00:00
Tarek Ziadé 2b06d42db5 Changed distutils tests to avoid environment alteration 2009-10-18 09:28:26 +00:00
Tarek Ziadé 0cfef2c3a4 forgot to commit a file in previous commit (r74994, issue #6954) 2009-09-21 13:49:57 +00:00
Tarek Ziadé cb76804b17 #6041: sdist and register now use the check command. No more duplicate code for metadata checking 2009-05-16 16:37:06 +00:00
Tarek Ziadé d35f2a33d5 refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard 2009-05-10 11:59:30 +00:00
Tarek Ziadé 023862890f added tests for the clean command 2009-03-31 20:50:59 +00:00
Tarek Ziadé 7dd533963f Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files 2009-02-16 21:38:01 +00:00
Tarek Ziadé 1369900619 Fix for #5257: refactored all tests in distutils, so they use a temporary directory. 2009-02-14 14:10:23 +00:00
Fred Drake edcac8f416 make sure distutils logging is shut off in tests to avoid spurious output 2004-08-03 18:53:07 +00:00
Fred Drake b8ab8b6da8 move support code to a helper module to ease re-use 2004-06-17 20:14:50 +00:00