X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FRT96893_perlcc.t;h=3adba98bd4733db0246fff561fd4ae42b8c625e0;hb=ac980bb41f34e3d9f94fd93353177cee7315b72f;hp=963ee28e736d26c7242eadc4f5ad7f6f55aaf95c;hpb=dfd7ef2599a66095e5bfcf0d01557374adc4686d;p=p5sagit%2FSub-Name.git diff --git a/t/RT96893_perlcc.t b/t/RT96893_perlcc.t index 963ee28..3adba98 100644 --- a/t/RT96893_perlcc.t +++ b/t/RT96893_perlcc.t @@ -12,6 +12,8 @@ plan skip_all => "B::C is too old (require 1.48, have $B::C::VERSION)" use Devel::CheckBin; plan skip_all => 'perlcc required' unless can_run('perlcc'); +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";'; @@ -20,6 +22,4 @@ close $fh; system($^X, qw(-Mblib -S perlcc -O3 -UCarp -UConfig -r), $f); unlink "t/rt96893x", "t/rt96893x.exe"; - -done_testing; # vim: ft=perl