Skip Menu |

This queue is for tickets about the Test-Continuous CPAN distribution.

Report information
The Basics
Id: 52160
Status: resolved
Priority: 0/
Queue: Test-Continuous

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

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



Subject: prove -b -l is dangerous
Test::Continuous runs prove with both the -b and -l flags. This is probably to account for not knowing whether the libraries are in blib or lib. It *currently* results in prove putting lib before blib/lib in @INC, but there's no guarantee of that. In the future, prove might reverse this resulting in T::C running the tests against probably stale code in blib/lib. Given the way T::C currently works, with no way to run a build step before running the tests, the code in blib is going to be out of date except immediately after the user runs a build. So -b can be removed without noticeably affecting how T::C works and it will make it safe for future versions of prove. If the autobuild mechanism suggested in an earlier ticket is implemented then it should use just -b when its in use.
The newly released 0.69 auto-build before running tests.