Leont / app-prove6

A test harness script for perl6
Artistic License 2.0
4 stars 5 forks source link

App::Prove6 0.0.16+ broke compat with old Rakudo builds #19

Open japhb opened 1 year ago

japhb commented 1 year ago

(May be related to https://github.com/Leont/app-prove6/issues/16 also, although I debugged from a different angle.)

In particular, https://github.com/Leont/app-prove6/commit/87897cc955305809e49ceb7cacbb0b414520c13b broke compatibility with mainline Rakudo builds older than the merge of https://github.com/rakudo/rakudo/pull/4917 -- Rakudo built at that merge commit works with all recent App::Prove6, while Rakudo built at the PR's branch point is broken unless reverting App::Prove6 to https://github.com/Leont/app-prove6/commit/9e0e2a6ec464ecb5712c3fbd71cd2c90b4899206 .

The symptom of the broken behavior is that attempts to run prove6 in a few different variations -- such as prove -l -v t, my usual invocation -- would fail and give a usage error message (which varies slightly depending on which newer App::Prove6 build I tested with).

Unfortunately, this affects module CI against several important older versions of Rakudo (see https://gist.github.com/japhb/88322d76326df16856f31f108c90e567 for an analysis of these key releases).

Leont commented 1 year ago

I understand from this that something around $*CWD is broken, but I don't understand what/how.

It's not clear to me what I can do about it.