]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 106424 - We weren't going orange on warnings such as "used only once". This...
authorjake%acutex.net <>
Wed, 24 Oct 2001 20:29:49 +0000 (20:29 +0000)
committerjake%acutex.net <>
Wed, 24 Oct 2001 20:29:49 +0000 (20:29 +0000)
t/001compile.t

index 78c1ab477089ea35ec25905fe0dccdbb85121c50..c297241dfb14315a9787606d5b18fbea1de3ba27 100644 (file)
@@ -45,7 +45,7 @@ use strict;
 
 # First now we test the scripts                                                   
 my @testitems = @Support::Files::testitems; 
-my %warnings;
+#my %warnings;
 my $verbose = $::ENV{TEST_VERBOSE};
 my $perlapp = $^X;
 
@@ -63,8 +63,8 @@ foreach my $file (@testitems) {
         my $loginfo=`$command`;
         #print '@@'.$loginfo.'##';
         if ($loginfo =~ /syntax ok$/im) {
-                $warnings{$_} = 1 foreach ($loginfo =~ /\((W.*?)\)/mg);
-                if ($1) {
+#                $warnings{$_} = 1 foreach ($loginfo =~ /\((W.*?)\)/mg);
+                if ($loginfo ne "$file syntax OK\n") {
                         if ($verbose) { print STDERR $loginfo; }
                         ok(0,$file."--WARNING");
                 } else {
@@ -84,3 +84,9 @@ use_ok('RelationSet'); # 55
 
 
 
+
+
+
+
+
+