cpython/Lib/test/libregrtest
Petr Viktorin af5f9d682c
gh-115720: Show number of leaks in huntrleaks progress reports (GH-115726)
Instead of showing a dot for each iteration, show:
- '.' for zero (on negative) leaks
- number of leaks for 1-9
- 'X' if there are more leaks

This allows more rapid iteration: when bisecting, I don't need
to wait for the final report to see if the test still leaks.

Also, show the full result if there are any non-zero entries.
This shows negative entries, for the unfortunate cases where
a reference is created and cleaned up in different runs.

Test *failure* is still determined by the existing heuristic.
2024-02-27 09:51:17 +01:00
..
__init__.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
cmdline.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
filter.py gh-111165: Move test running code from test.support to libregrtest (GH-111166) 2023-10-25 12:41:21 +03:00
findtests.py gh-108303: Move all `pydoc` related test files to new `test.test_pydoc` package (#114506) 2024-02-13 11:40:40 +01:00
logger.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
main.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
mypy.ini gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (#112586) 2023-12-01 14:54:33 +00:00
pgo.py gh-110276: Run `test_str`, not `test_unicode`, as part of the PGO build (#110277) 2023-10-03 13:54:21 +01:00
refleak.py gh-115720: Show number of leaks in huntrleaks progress reports (GH-115726) 2024-02-27 09:51:17 +01:00
result.py gh-110722: Make `-m test -T -j` use sys.monitoring (GH-111710) 2023-11-10 18:17:45 +01:00
results.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
run_workers.py gh-109413: regrtest: add WorkerRunTests class (#112588) 2023-12-01 13:46:50 +00:00
runtests.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
save_env.py gh-109276: libregrtest only checks saved_test_environment() once (#109278) 2023-09-12 05:01:33 +02:00
setup.py gh-109413: Run mypy on `libregrtest` in CI (#112558) 2023-11-30 23:00:14 +00:00
single.py gh-108927: Fix removing testing modules from sys.modules (GH-108952) 2023-12-04 15:43:27 +00:00
testresult.py gh-111165: Move test running code from test.support to libregrtest (GH-111166) 2023-10-25 12:41:21 +03:00
utils.py gh-112536: Add support for thread sanitizer (TSAN) (gh-112648) 2023-12-30 17:17:02 +09:00
win_utils.py
worker.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00