diff options
| author | Shang Li <144836394+Mby159@users.noreply.github.com> | 2026-11-24 19:43:31 +0800 |
|---|---|---|
| committer | Shang Li <144836394+Mby159@users.noreply.github.com> | 2026-11-24 19:43:31 +0800 |
| commit | 7d184af582458bff84bfe6be65933d671891d993 (patch) | |
| tree | 4c12f064a4ff1a9f635092a680fc3a58a609a889 /runtime/test/queue_proxy_test.cpp | |
| parent | 23b190b19ed0d5ec26baf08c88610333168ac424 (diff) | |
semantic tests: count from unittest's own summary
A test that runs a nested unittest runner writes that runner's summary to
stderr while the test runs, before unittest writes its own. The count came
from the first "Ran N tests" line in stderr, so a nested summary of "Ran 0
tests" was counted and a passing module looked empty: the runner exited 1
with "no tests ran".
The count is now the last summary in stderr, which is unittest's own: it
writes that summary after every test has run, so nothing a test wrote can
come after it. A summary a test writes to stdout is never counted at all.
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions