Check for dh_auto_test reporting test failure
authorSteve McIntyre <steve@einval.com>
Wed, 24 Oct 2018 17:14:00 +0000 (18:14 +0100)
committerSteve McIntyre <steve@einval.com>
Wed, 24 Oct 2018 17:14:00 +0000 (18:14 +0100)
bin/analyze_results

index 09d1643..4e15a0f 100755 (executable)
@@ -212,6 +212,15 @@ my @logcheck = (
        stop     => 1,
     },
     {
+       # Test failure
+       string   => 'dh_auto_test:.*returned exit code \d+
+',
+       pstring  => '.*',
+       message  => 'test failure',
+       check    => 1,
+       stop     => 1,
+    },
+    {
        # Timeout. pbuilder is too dumb to do this properly :-(
        string   => 'I: Terminating build process due to timeout',
        pstring  => '.*',