cvsuser 02/12/14 23:05:46
Modified: t/pmc nci.t
Log:
Skip all nci tests when unavailable. (I have a fix for the makefile
that makes these tests actually run by default on i386, but I'm
testing it on other platforms before committing.)
Revision Changes Path
1.5 +5 -4 parrot/t/pmc/nci.t
Index: nci.t
===================================================================
RCS file: /cvs/public/parrot/t/pmc/nci.t,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -r1.4 -r1.5
--- nci.t 14 Dec 2002 09:04:36 -0000 1.4
+++ nci.t 15 Dec 2002 07:05:46 -0000 1.5
@@ -7,7 +7,8 @@
$ENV{LD_LIBRARY_PATH} = '.';
}
else {
- skip('needs jit/i386 and libnci'.$PConfig{so}, 9);
+ skip('needs jit/i386 and libnci'.$PConfig{so},
+ Test::Builder->expected_tests());
}
sub gen_test($) {
@@ -302,8 +303,6 @@
ok 2
OUTPUT
-}
-
output_is(gen_test(<<'CODE'), <<'OUTPUT', "nci_d_d - stress test");
loadlib P1, "libnci.so"
print "loaded\n"
@@ -380,5 +379,7 @@
ok 3
ok 4
OUTPUT
-1;
+} # SKIP
+
+1;