Xliff / p6-Pango

Perl6 bindings for the Pango C library
0 stars 0 forks source link

t/02-twisted will not render twisted text #2

Open Xliff opened 5 years ago

Xliff commented 5 years ago

Script here

Current status:

MARTIMM commented 5 years ago

I can't get the example of the issue working. I've done the following

git clone https://github.com/Xliff/p6-Pango.git
cd p6-Pango
zef --depsonly install .
zef install .
===> Testing: Perl6-Pango:ver<r.0.1>
Usage:
  t/01-text.t <filename>
===SORRY!===
Could not find RandomColor at line 4 in:
    file#/home/marcel/Languages/Perl6/External/p6-Pango
    file#/home/marcel/Languages/Perl6/External/p6-Pango/lib
    inst#/home/marcel/.perl6
    inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/site
    inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/vendor
    inst#/mnt/Data/opt/Perl6/rakudo/install/share/perl6/core
    ap#
    nqp#
    perl5#
===> Testing [FAIL]: Perl6-Pango:ver<r.0.1>
Aborting due to test failure: Perl6-Pango:ver<r.0.1> (use --force-test to override)

Perhaps RandomColor is missing in your META file

> zef install RandomColor
===> Searching for: RandomColor
===> Testing: p6-RandomColor:ver<.0.11>
===> Testing [OK] for p6-RandomColor:ver<.0.11>
===> Installing: p6-RandomColor:ver<.0.11>

and Inline::Perl5...

After that I got it installed but the test I could not do using prove or p6gtkexec

Xliff commented 5 years ago

Ah! Thanks for finding the missing dependencies!

This is NOT a test that can be done using prove.

The proper invocation is:

$ p6gtkexec t/02-twisted.t twisted.png

And then examining exemplar/twisted.png to compare the output. You will need to pull to get this last file, as I've just added it.