Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#50154 closed submission (fixed)

nqp, rakudo: new ports

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: coke (Will Coleda), Ionic (Mihai Moldovan), mojca (Mojca Miklavec), dbevans (David B. Evans)
Port: nqp rakudo

Attachments (2)

nqp.Portfile (1.7 KB) - added by mojca (Mojca Miklavec) 9 years ago.
Initial attempt for nqp
rakudo.Portfile (1.2 KB) - added by mojca (Mojca Miklavec) 9 years ago.
Initial attempt for rakudo

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by mojca (Mojca Miklavec)

Just for testing purposes I have set

test.target         test spectest

in rakudo.

This is the only failing test where the upstream developers would need some help from Mac devs as those tests are skipped on other platforms:

> sudo -u macports /opt/local/bin/perl5.22 t/harness --fudge --moar --verbosity=9 --keep-exit-code t/spec/S17-supply/watch-path.t 
t/spec/S17-supply/watch-path.t .. 
WARNINGS for /path/to/rakudo/work/rakudo-373adc0/t/spec/S17-supply/watch-path.t:
Useless use of constant string "only about our file" in sink context (lines 28, 28)
1..2
ok 1 - make sure we don't have a file
    1..22
Failed 1/2 subtests 

Test Summary Report
-------------------
t/spec/S17-supply/watch-path.t (Wstat: 5 Tests: 1 Failed: 0)
  Non-zero wait status: 5
  Parse errors: Bad plan.  You planned 2 tests but ran 1.
Files=1, Tests=1,  5 wallclock secs ( 0.03 usr  0.00 sys +  3.47 cusr  0.28 csys =  3.78 CPU)
Result: FAIL

I initially experienced another problem:

t/spec/S32-str/utf8-c8.t ...................................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/31 subtests 
...
t/spec/S32-str/utf8-c8.t                                    (Wstat: 256 Tests: 31 Failed: 1)
  Failed test:  31
  Non-zero exit status: 1

but running the test alone manually worked fine:

ok 31 - Can run Perl 6 sourcefile with non-UTF-8 name

so I'm confused (and probably won't bother). Maybe it's just an interference with MacPorts' logging?

Changed 9 years ago by mojca (Mojca Miklavec)

Attachment: nqp.Portfile added

Initial attempt for nqp

Changed 9 years ago by mojca (Mojca Miklavec)

Attachment: rakudo.Portfile added

Initial attempt for rakudo

comment:2 Changed 9 years ago by mojca (Mojca Miklavec)

Description: modified (diff)

comment:3 Changed 9 years ago by coke (Will Coleda)

The testing failure is likely due to getting the source from github; the make test target is part of the local repo; make spectest checks out another git repo - as part of the release, a specific version of this was cut and included with the tarball on the rakudo.org site; the default behavior is to get the latest version of the tests; so pulling the spec tests from github will soon be out of date compared the version in the portfile.

comment:4 Changed 9 years ago by mojca (Mojca Miklavec)

I committed r143947. Let us worry about the proper version of the test suite later.

comment:5 Changed 9 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mojca@… added; mojca@… removed
Note: See TracTickets for help on using tickets.