RE: g++ compile and make test 100%
Robin Barker [Wed, 11 Oct 2006 16:58:10 +0000 (17:58 +0100)]
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226120A68@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@29000

ext/ODBM_File/t/odbm.t

index c4df3d8..7c9ffef 100755 (executable)
@@ -6,7 +6,7 @@ BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
     require Config; import Config;
-    if ($Config{'extensions'} !~ /\bODBM_File\b/) {
+    if ($Config{'extensions'} !~ /\bODBM_File\b/ or $Config{'d_cplusplus'}) {
        print "1..0 # Skip: ODBM_File was not built\n";
        exit 0;
     }