Opened 2 years ago

Closed 4 months ago

#9095 closed bug (fixed)

make sdist picks up test files

Reported by: ezyang Owned by: thomie
Priority: low Milestone: 8.2.1
Component: Build System Version: 7.9
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

I recently ran 'make sdist' and discovered that I my source tarball was nearly a gigabyte large. Closer inspection revealed that sdist had slurped up executable files for tests that I had run at some point. It would be preferable if 'make sdist' did not do that.

Change History (3)

comment:1 Changed 23 months ago by nomeata

  • Keywords newcomer added

comment:2 Changed 16 months ago by thomie

  • Keywords newcomer removed
  • Owner set to thomie

comment:3 Changed 4 months ago by thomie

  • Milestone set to 8.2.1
  • Resolution set to fixed
  • Status changed from new to closed

Fixed by running tests in /tmp (#11980).

Although not perfect (if you yourself create some temporary files in the testsuite/ directory, they will still be included in the sdist. So just don't do that if you care about this issue.), I think it's good enough for now. Maybe Hadrian will do better.

Note: See TracTickets for help on using tickets.