Display the command that failed the runtestfedabipkgdiff.py test
authorDodji Seketeli <dodji@redhat.com>
Tue, 28 Feb 2017 15:37:06 +0000 (16:37 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 28 Feb 2017 15:38:48 +0000 (16:38 +0100)
* tests/runtestfedabipkgdiff.py.in (run_fedabipkgdiff_tests): When
A test fails, display the fedabipkgdiff command that triggered the failure.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tests/runtestfedabipkgdiff.py.in

index 9c06165fa08fc35d9cd999c5ef872bc945732b5e..5b10a71635398d46ad14f8ea08ac38b923fb6a2c 100755 (executable)
@@ -143,6 +143,7 @@ def run_fedabipkgdiff_tests():
             if return_code:
                 sys.stderr.write('fedabipkgdiff test failed for ' +
                                  reference_report_path + '\n')
+                sys.stderr.write('command was: ' + ' '.join(cmd) + '\n');
             result &=  not return_code
 
     return result