This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Skip ext/B/t/assembler.t when configured without B.
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Sun, 29 Aug 2004 13:21:50 +0000 (13:21 +0000)
committerMarcus Holland-Moritz <mhx-perl@gmx.net>
Sun, 29 Aug 2004 13:21:50 +0000 (13:21 +0000)
p4raw-id: //depot/perl@23242

ext/B/t/assembler.t

index d8451f6..fedb6a7 100644 (file)
@@ -155,6 +155,10 @@ use Test::More;
 use Config qw(%Config);
 
 BEGIN {
+  if (($Config{'extensions'} !~ /\bB\b/) ){
+    print "1..0 # Skip -- Perl configured without B module\n";
+    exit 0;
+  }
   if (($Config{'extensions'} !~ /\bByteLoader\b/) ){
     print "1..0 # Skip -- Perl configured without ByteLoader module\n";
     exit 0;