diff --git a/.ci/generate_test_report_lib.py b/.ci/generate_test_report_lib.py index ce8262f0dc73f..c62c901fe46f5 100644 --- a/.ci/generate_test_report_lib.py +++ b/.ci/generate_test_report_lib.py @@ -184,8 +184,8 @@ def generate_report( if return_code == 0: report.extend( [ - "The build succeeded and no tests ran. This is expected in some " - "build configurations." + ":white_check_mark: The build succeeded and no tests ran. " + "This is expected in some build configurations." ] ) else: @@ -272,6 +272,10 @@ def plural(num_tests): ] ) report.extend(_format_failures(ninja_failures, failure_explanations)) + else: + report.extend( + ["", ":white_check_mark: The build succeeded and all tests passed."] + ) if failures or return_code != 0: report.extend(["", UNRELATED_FAILURES_STR]) diff --git a/.ci/generate_test_report_lib_test.py b/.ci/generate_test_report_lib_test.py index 341cf3037b921..182af1d52641a 100644 --- a/.ci/generate_test_report_lib_test.py +++ b/.ci/generate_test_report_lib_test.py @@ -194,7 +194,7 @@ def test_title_only(self): """\ # Foo - The build succeeded and no tests ran. This is expected in some build configurations.""" + :white_check_mark: The build succeeded and no tests ran. This is expected in some build configurations.""" ), ) @@ -308,7 +308,9 @@ def test_no_failures(self): """\ # Foo - * 1 test passed""" + * 1 test passed + + :white_check_mark: The build succeeded and all tests passed.""" ) ), )