Skip to content

Commit fe8c2fa

Browse files
authored
[test] Remove some startup noise from test suite. NFC (#23680)
This information is redundant, especially in the case when there is only one suite. ``` $ ./test/runner other.test_jslib_native_deps Test suites: ['test_other'] Running test_other: (1 tests) (checking sanity from test runner) shared:INFO: (Emscripten: Running sanity checks) test_jslib_native_deps (test_other.other.test_jslib_native_deps) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.714s OK ```
1 parent fe6a321 commit fe8c2fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def run_tests(options, suites):
329329
resultMessages = []
330330
num_failures = 0
331331

332-
print('Test suites:')
333-
print([s[0] for s in suites])
332+
if len(suites) > 1:
333+
print('Test suites:', [s[0] for s in suites])
334334
# Run the discovered tests
335335

336336
# We currently don't support xmlrunner on macOS M1 runner since

0 commit comments

Comments
 (0)