X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FRT96893_perlcc.t;h=6a353576f12e106e51f54ec88e0d2d976904d44e;hb=79187d26566e22a0d60641ce82a9c91b86bec3ac;hp=1c5b3db5a3a380b691ad74e9370252d030c3cb02;hpb=145a0721f3f7d56fabb79bbe6bf0fc66e66d2a82;p=p5sagit%2FSub-Name.git diff --git a/t/RT96893_perlcc.t b/t/RT96893_perlcc.t index 1c5b3db..6a35357 100644 --- a/t/RT96893_perlcc.t +++ b/t/RT96893_perlcc.t @@ -18,10 +18,13 @@ plan tests => 1; my $f = "t/rt96893x.pl"; open my $fh, ">", $f; END { unlink $f if $f } -print $fh 'use Sub::Name; subname("main::bar", sub{42}); print "ok 1\n";'; +print $fh 'use Sub::Name; subname("main::bar", sub{42}); print "# successfully ran subname() with perlcc\n";'; close $fh; system($^X, qw(-Mblib -S perlcc -O3 -UCarp -UConfig -r), $f); +local $TODO = 'experimental, for informational purposes only'; +is($? >> 8, 0, 'executable completed successfully'); + unlink "t/rt96893x", "t/rt96893x.exe"; # vim: ft=perl