FCO / Red

A WiP ORM for Raku
Artistic License 2.0
68 stars 27 forks source link

Test fail: t/23-metamodel-model.rakutest line 62 #573

Closed greenfork closed 5 months ago

greenfork commented 5 months ago

On current master:

t/23-metamodel-model.rakutest ..1/?# Failed test at t/23-metamodel-model.rakutest line 62
# expected: '0'
#      got: ''
# You failed 1 test of 66
t/23-metamodel-model.rakutest .. Dubious, test returned 1
Failed 1/66 subtests

Test Summary Report
-------------------
t/23-metamodel-model.rakutest (Wstat: 256 Tests: 66 Failed: 1)
  Failed tests:  25
Non-zero exit status: 1
Files=1, Tests=66,  2 wallclock secs
Result: FAILED

If I comment the test, everything else passes successfully.

greenfork commented 5 months ago

Same goes for zef install --debug Red. Anything I can do to fix it?

jonathanstowe commented 5 months ago

Which version of raku are you using? It works with

Welcome to Rakudo™ v2024.01.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.01.
greenfork commented 5 months ago

I have this:

Welcome to Rakudo™ v2024.02.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.02.
jonathanstowe commented 5 months ago

Hmm, I don't have v2024.02 handy,

What do you get it if you run:

raku -MTest -e 'is v0, 0; done-testing'
greenfork commented 5 months ago

Seems fine:

> raku -MTest -e 'is v0, 0; done-testing'
ok 1 -
1..1
jonathanstowe commented 5 months ago

I think it was the commit 4f64b4876b in rakudo, it was uniquely in 2024.02 and reverted for 2024.03

greenfork commented 5 months ago

You are right. I tried the 2024.03 version, this test seems to pass. I got a lot of other errors, created an issue to track it https://github.com/FCO/Red/issues/574