This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avert crashes when testing in parallel.
authorJames E Keenan <jkeenan@cpan.org>
Fri, 16 Aug 2013 23:59:23 +0000 (01:59 +0200)
committerJames E Keenan <jkeenan@cpan.org>
Sat, 17 Aug 2013 14:08:47 +0000 (16:08 +0200)
commit21ae0dea1efe484f558dae7c3e9b0afb133318a3
treef555c1bb63db59e7f5e200e18a45531094662ce3
parentc7996136baeaaa191957ae813685ec6a2b133bf9
Avert crashes when testing in parallel.

Both t/001-basic.t and what was t/004-nolinenumbers.t were trying to write to
a 't/XSTest.c' file.  When run in parallel, this was causing problems when
TEST_JOBS >= 1 (2 on some boxes, 4 on dromedary).

Since all that t/004-nolinenumbers.t was ever trying to do was to run
process_file() without line numbers -- a case not exercised prior to my
2009-11 refactoring/test additions -- the simplest way to avoid these
problems is to stuff the tests from t/004 into t/001 and delete t/001.

For: RT #119231
MANIFEST
dist/ExtUtils-ParseXS/t/001-basic.t
dist/ExtUtils-ParseXS/t/004-nolinenumbers.t [deleted file]