Description of problem:
At this point there is no way to determine if the tests have failed based on the exit of rpmgrill. It always exits with 0, even if tests have failed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Run rpmgrill against packages with packaging errors. Check the exit code.
Exit status is 0.
Exit code reflects a failed test and should be non-zero
Had to adjust the rpmgrill-unpack-rpms command to also copy the build logs into the unpack directory.
Tested with broken and not broken RPM packages:
t/data/rpm_with_errors $ rpmgrill unpacked
t/data/rpm_with_errors $ echo $?
t/data/rpm_without_errors $ rpmgrill-unpack-rpms .
t/data/rpm_without_errors $ rpmgrill unpacked
t/data/rpm_without_errors $ echo $?
Shipped with 0.31 release: