mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-13 08:46:22 +00:00
[ci] Improve wording in CI test reports
We weren't saying where to click, make it clear you click on a test name.
This commit is contained in:
parent
785e7f06dd
commit
d9cfd90524
@ -92,7 +92,7 @@ def generate_report(
|
||||
]
|
||||
)
|
||||
elif failures:
|
||||
report.extend(["", "## Failed Tests", "(click to see output)"])
|
||||
report.extend(["", "## Failed Tests", "(click on a test name to see its output)"])
|
||||
|
||||
for testsuite_name, failures in failures.items():
|
||||
report.extend(["", f"### {testsuite_name}"])
|
||||
|
@ -2,6 +2,9 @@
|
||||
# See https://llvm.org/LICENSE.txt for license information.
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
# To run these tests:
|
||||
# python -m unittest generate_test_report_lib_test.py
|
||||
|
||||
import unittest
|
||||
from io import StringIO
|
||||
from textwrap import dedent
|
||||
@ -150,7 +153,7 @@ class TestReports(unittest.TestCase):
|
||||
* 2 tests failed
|
||||
|
||||
## Failed Tests
|
||||
(click to see output)
|
||||
(click on a test name to see its output)
|
||||
|
||||
### Bar
|
||||
<details>
|
||||
@ -182,7 +185,7 @@ class TestReports(unittest.TestCase):
|
||||
* 2 tests failed
|
||||
|
||||
## Failed Tests
|
||||
(click to see output)
|
||||
(click on a test name to see its output)
|
||||
|
||||
### ABC
|
||||
<details>
|
||||
|
Loading…
x
Reference in New Issue
Block a user