[svn:parrot] r44887 - trunk/t/pmc
coke at svn.parrot.org
coke at svn.parrot.org
Fri Mar 12 01:19:51 UTC 2010
Author: coke
Date: Fri Mar 12 01:19:49 2010
New Revision: 44887
URL: https://trac.parrot.org/parrot/changeset/44887
Log:
Fix skip/plan, should quiet coretest
(The file this depends on is no longer built as part of corevm target,
and the skip logic was buggy.)
Modified:
trunk/t/pmc/nci.t
Modified: trunk/t/pmc/nci.t
==============================================================================
--- trunk/t/pmc/nci.t Fri Mar 12 00:44:36 2010 (r44886)
+++ trunk/t/pmc/nci.t Fri Mar 12 01:19:49 2010 (r44887)
@@ -6,7 +6,7 @@
use warnings;
use lib qw( . lib ../lib ../../lib );
use Test::More;
-use Parrot::Test tests => 71;
+use Parrot::Test;
use Parrot::Config qw(%PConfig);
=head1 NAME
@@ -31,11 +31,13 @@
=cut
$ENV{TEST_PROG_ARGS} ||= '';
+ use Test::Builder;
SKIP: {
unless ( -e "runtime/parrot/dynext/libnci_test$PConfig{load_ext}" ) {
- skip( "Please make libnci_test$PConfig{load_ext}", Test::Builder->expected_tests() );
+ plan skip_all => "Please make libnci_test$PConfig{load_ext}";
}
+ plan tests => 71;
pir_output_is( << 'CODE', << 'OUTPUT', 'load library fails' );
.sub test :main
More information about the parrot-commits
mailing list