From cac3536fd81934adab4237e33832608148722cd8 Mon Sep 17 00:00:00 2001 From: fmessmer Date: Wed, 24 Jun 2020 12:30:08 +0200 Subject: [PATCH 1/2] improve indentation --- atf_core/scripts/analyser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atf_core/scripts/analyser.py b/atf_core/scripts/analyser.py index 450d6eaf..1ee0628f 100755 --- a/atf_core/scripts/analyser.py +++ b/atf_core/scripts/analyser.py @@ -133,7 +133,7 @@ def get_result(self): if test_result.groundtruth_result != None and not test_result.groundtruth_result: # check if there are already failed tests in atf_result if atf_result.groundtruth_result == None: - atf_result.groundtruth_error_message = "Failed ATF tests:" + atf_result.groundtruth_error_message = "\nFailed ATF tests:" atf_result.groundtruth_result = False atf_result.groundtruth_error_message += "\n - test '%s' (%s, %s, %s, %s): %s"%(test_result.name, test_result.robot, test_result.env, test_result.test_config, test_result.testblockset, test_result.groundtruth_error_message) if atf_result.groundtruth_result == None and test_result.groundtruth_result: From d04e6781e4abcfe86ed0c5bc8fe276ee12dd827f Mon Sep 17 00:00:00 2001 From: fmessmer Date: Wed, 24 Jun 2020 12:30:23 +0200 Subject: [PATCH 2/2] comment duplicate result output --- atf_core/scripts/analyser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atf_core/scripts/analyser.py b/atf_core/scripts/analyser.py index 1ee0628f..04d043f9 100755 --- a/atf_core/scripts/analyser.py +++ b/atf_core/scripts/analyser.py @@ -153,7 +153,7 @@ def print_result(self, atf_result): print "*************************" print "*** SOME TESTS FAILED ***" print "*************************" - print atf_result.groundtruth_error_message + #print atf_result.groundtruth_error_message self.print_result_summary(atf_result) else: print "\n"