Grab the failed target name if we can
authorSteve McIntyre <steve@einval.com>
Mon, 29 Oct 2018 17:07:39 +0000 (17:07 +0000)
committerSteve McIntyre <steve@einval.com>
Mon, 29 Oct 2018 17:07:39 +0000 (17:07 +0000)
bin/analyze_results

index 4b0a13d..5e247bd 100755 (executable)
@@ -295,8 +295,8 @@ my @logcheck = (
     },
     {
        # Build failed
-       string   => '^debian/.*recipe for target.*failed',
-       message  => 'Build failure (other)',
+       string   => '^debian/.*recipe for target (\S+) failed',
+       message  => 'Build failure (RESULT)',
        check    => 1,
        stop     => 1,
        type     => ERR_BUILD_PROBLEM,