FCO / test-time

1 stars 1 forks source link

Breaking in most recent versions #1

Open Scimon opened 5 years ago

Scimon commented 5 years ago

Raised in the January Squashathon :

https://github.com/perl6/ecosystem-unbitrot/issues/528

I've done some looking into it and the initial issue seems to be the final test which is using a verson pragma which isn't a valid use case any more.

But splitting it out into a sperate file hasn't helped ( https://github.com/Scimon/test-time ). It looks like the interactions with Promises and the Test Scheduler are going haywire.

I'll try and get the code / tests working but thought I should raise it.

Altai-man commented 4 years ago

This is still true. :(

➜  ~ zef install Test::Time
===> Searching for: Test::Time
===> Searching for missing dependencies: Test::Scheduler
===> Testing: Test::Scheduler:ver<1.1>
===> Testing [OK] for Test::Scheduler:ver<1.1>
===> Testing: Test::Time:ver<0.0.1>
[Test::Time] ===SORRY!=== Error while compiling /home/koto/.zef/store/test-time.git/54edf2245b7afb93c49ecd84e1283ce1141d7fc4/t/01-tdd.t
[Test::Time] Too late to switch language version. Must be used as the very first statement.
[Test::Time] at /home/koto/.zef/store/test-time.git/54edf2245b7afb93c49ecd84e1283ce1141d7fc4/t/01-tdd.t:72
[Test::Time] ------>     use v6.d.PREVIEW⏏;
===> Testing [FAIL]: Test::Time:ver<0.0.1>
Aborting due to test failure: Test::Time:ver<0.0.1> (use --force-test to override)