File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -184,8 +184,8 @@ def generate_report(
184184 if return_code == 0 :
185185 report .extend (
186186 [
187- "The build succeeded and no tests ran. This is expected in some "
188- "build configurations."
187+ ":white_check_mark: The build succeeded and no tests ran. "
188+ "This is expected in some build configurations."
189189 ]
190190 )
191191 else :
@@ -272,6 +272,10 @@ def plural(num_tests):
272272 ]
273273 )
274274 report .extend (_format_failures (ninja_failures , failure_explanations ))
275+ else :
276+ report .extend (
277+ ["" , ":white_check_mark: The build succeeded and all tests passed." ]
278+ )
275279
276280 if failures or return_code != 0 :
277281 report .extend (["" , UNRELATED_FAILURES_STR ])
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ def test_title_only(self):
194194 """\
195195 # Foo
196196
197- The build succeeded and no tests ran. This is expected in some build configurations."""
197+ :white_check_mark: The build succeeded and no tests ran. This is expected in some build configurations."""
198198 ),
199199 )
200200
@@ -308,7 +308,9 @@ def test_no_failures(self):
308308 """\
309309 # Foo
310310
311- * 1 test passed"""
311+ * 1 test passed
312+
313+ :white_check_mark: The build succeeded and all tests passed."""
312314 )
313315 ),
314316 )
You can’t perform that action at this time.
0 commit comments