Skip Menu |
 

This queue is for tickets about the Linux-Sysfs CPAN distribution.

Report information
The Basics
Id: 110318
Status: open
Priority: 0/
Queue: Linux-Sysfs

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: Parallel Testing causes tests to fail

Due to there being some implied order required in the test suite, test runs that call the last test before others results in their required files being missing.

 

 grep 'config.pl' -r .
./Changes:        - Generate t/config.pl before the tests.
./t/z-cleanup.t:unlink('t/config.pl');
./t/01-config.t:my $fh = IO::File->new('t/config.pl', 'w')
./t/01-config.t:    or BAIL_OUT("Could not open t/config.pl for writing.\n".
./t/common.pl:my $conf = require 't/config.pl';
 

 grep 'common.pl' -r .
./t/driver.t:    require 't/common.pl';
./t/attr.t:    require 't/common.pl';
./t/device.t:    require 't/common.pl';
./t/module.t:    require 't/common.pl';
./t/class.t:    require 't/common.pl';
./t/notabs.t:    require 't/common.pl';
./t/bus.t:    require 't/common.pl';
./t/examples.t:    require 't/common.pl';
./t/class_device.t:    require 't/common.pl';
./MANIFEST:t/common.pl
 

Attached is the output if `prove -blvr -j $N t/` for values of $N of 1 and 2 for comparison.

Subject: jobs=1
Download jobs=1
application/octet-stream 2.7k

Message body not shown because it is not plain text.

Subject: jobs=2
Download jobs=2
application/octet-stream 5.8k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 311b
On 2015-12-13 23:59:09, KENTNL wrote: Show quoted text
> Due to there being some implied order required in the test suite, test runs > that call the last test before others results in their required files being > missing.
I'd be happy to ship a patch but I lack the testing platform or tuits to be able to work on this myself.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.