Switch ordering of two matches
authorSteve McIntyre <steve@einval.com>
Thu, 20 Dec 2018 13:44:45 +0000 (13:44 +0000)
committerSteve McIntyre <steve@einval.com>
Thu, 20 Dec 2018 13:44:45 +0000 (13:44 +0000)
Reduce duplicate matches

bin/analyze_results

index 1aa20ae..60aba86 100755 (executable)
@@ -292,19 +292,19 @@ my @logcheck = (
     },
     {
        # Build failed
     },
     {
        # Build failed
-       string   => 'make.*returned exit code',
+       string   => '^make.*\*\*\*.* \[debian/rules.*Error \d+$',
        message  => 'Build failure (other)',
        check    => 1,
        message  => 'Build failure (other)',
        check    => 1,
-       stop     => 0,
+       stop     => 1,
        analyze  => 1,
        type     => ERR_BUILD_PROBLEM,
     },
     {
        # Build failed
        analyze  => 1,
        type     => ERR_BUILD_PROBLEM,
     },
     {
        # Build failed
-       string   => '^make.*\*\*\*.* \[debian/rules.*Error \d+$',
+       string   => 'make.*returned exit code',
        message  => 'Build failure (other)',
        check    => 1,
        message  => 'Build failure (other)',
        check    => 1,
-       stop     => 1,
+       stop     => 0,
        analyze  => 1,
        type     => ERR_BUILD_PROBLEM,
     },
        analyze  => 1,
        type     => ERR_BUILD_PROBLEM,
     },