Source: sbuild
Version: 0.73.0-4
Severity: wishlist

Dear Maintainer,

trying to use to autopkgtest feature of sbuild I was somewhat surprised
to learn there is no way to signalize a failing autopkgtest to the
sbuild caller. I'd expect to have something like

--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -1845,6 +1845,7 @@ sub run_autopkgtest {
     } else {
        # fail if neither all tests passed nor was the package without tests
        $self->log_error("Autopkgtest run failed.\n");
+       $self->set_status("failed");
        return 0;
     }
 

at least as an option like --fail-from-failing-autopkgtest. So it seems
the only way was to inspect the build log. This doesn't seem right.

Did I miss something? Else, please take this as a feature request. Also
likewise for piuparts.

Regards,
    Christoph

Attachment: signature.asc
Description: PGP signature

Reply via email to