Raku / tap-harness6

A TAP harness for Raku
Artistic License 2.0
8 stars 15 forks source link

TAP 0.3.1 breaks zef install #48

Closed lizmat closed 2 years ago

lizmat commented 2 years ago

If I have the latest TAP installed (0.3.1 as of this writing), then zef install fails because it cannot find test files. With TAP:ver<0.3.0> installed, everything is ok. Sample output:

$ zef --verbose install eigenstates
===> Searching for: eigenstates
===> Found: eigenstates:ver<0.0.9>:auth<zef:lizmat> [via Zef::Repository::Ecosystems<fez>]
===> Fetching [OK]: eigenstates:ver<0.0.9>:auth<zef:lizmat> to /Users/liz/.zef/tmp/1642188589.59951.8849.479889991366/46cb93d3980b5dcd88d190e9d956659936b0f0cc.tar.gz
===> Extraction [OK]: eigenstates to /Users/liz/.zef/tmp/46cb93d3980b5dcd88d190e9d956659936b0f0cc.tar.gz
===> Testing: eigenstates:ver<0.0.9>:auth<zef:lizmat>
[eigenstates] Could not open t/01-basic.t. Failed to stat file: no such file or directory
[eigenstates] t/01-basic.t .. Dubious, test returned 1
[eigenstates] No subtests run
[eigenstates] All tests successful.
[eigenstates] 
[eigenstates] Test Summary Report
[eigenstates] -------------------
[eigenstates] t/01-basic.t (Wstat: 256 Tests: 0 Failed: 0)
[eigenstates] Non-zero exit status: 1
[eigenstates]   Parse errors: No plan found in TAP output
[eigenstates] Files=1, Tests=0,  0 wallclock secs
[eigenstates] Result: FAILED
===> Testing [FAIL]: eigenstates:ver<0.0.9>:auth<zef:lizmat>
Aborting due to test failure: eigenstates:ver<0.0.9>:auth<zef:lizmat> (use --force-test to override)
lizmat commented 2 years ago

Looking at the differences between 0.3.0 and 0.3.1, I have no idea what could be causing this.

lizmat commented 2 years ago

Pinging @Leont :-)

ugexe commented 2 years ago

I addressed it in https://github.com/ugexe/zef/pull/439