Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created September 20, 2016 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/1a7534dd273d45073570ebc62b31542e to your computer and use it in GitHub Desktop.
Save zoffixznet/1a7534dd273d45073570ebc62b31542e to your computer and use it in GitHub Desktop.
zoffix@VirtualBox:~/CPANPRC/Standard-Rakudo$ cat t/spec/foo.t
use lib 't/spec/packages';
use Test;
use Test::Util;
plan 1;
ok 1;
zoffix@VirtualBox:~/CPANPRC/Standard-Rakudo$ prove -e './perl6' -vlr t/spec/foo.t
t/spec/foo.t ..
1..1
ok 1 -
ok
All tests successful.
Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.22 cusr 0.03 csys = 0.27 CPU)
Result: PASS
zoffix@VirtualBox:~/CPANPRC/Standard-Rakudo$ make t/spec/foo.t
rm -f -- perl6
cp -- perl6-m perl6
chmod -- 755 perl6
/home/zoffix/perl5/perlbrew/perls/perl-5.24.0/bin/perl t/harness5 --fudge --moar --keep-exit-code --verbosity=1 t/spec/foo.t
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
Test Summary Report
-------------------
t/spec/foo.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
Files=1, Tests=0, 2 wallclock secs ( 0.02 usr 0.00 sys + 1.41 cusr 0.08 csys = 1.51 CPU)
Result: FAIL
make: *** [t/spec/foo.t] Error 1
zoffix@VirtualBox:~/CPANPRC/Standard-Rakudo$ make t/spec/foo.t
rm -f -- perl6
cp -- perl6-m perl6
chmod -- 755 perl6
/home/zoffix/perl5/perlbrew/perls/perl-5.24.0/bin/perl t/harness5 --fudge --moar --keep-exit-code --verbosity=1 t/spec/foo.t
ok 1 -
ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.25 cusr 0.02 csys = 0.29 CPU)
Result: PASS
zoffix@VirtualBox:~/CPANPRC/Standard-Rakudo$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment