Ned Deily
b00e1254fc
gh-128690: temporarily do not use test_embed in PGO profile builds ( #128771 )
...
Temporarily do not use test_embed in PGO profile builds until the problem with test_init_pyvenv_cfg failing in some configurations is resolved.
2025-01-13 04:02:18 -05:00
sobolevn
bfc1d2504c
gh-109413: Add more type hints to `libregrtest` ( #126352 )
2024-11-04 13:15:57 +03:00
Alex Waygood
dddc757303
gh-110276: Run `test_str`, not `test_unicode`, as part of the PGO build ( #110277 )
...
`test_unicode` does not exist
2023-10-03 13:54:21 +01:00
Victor Stinner
a341750078
gh-109162: Refactor libregrtest.Regrtest ( #109206 )
...
* Add type hint types: TestName, StrPath, StrJSON.
* Add attributes to Regrtest:
* cmdline_args
* coverage
* coverage_dir
* fail_rerun
* next_single_filename
* print_slowest
* tmp_dir
* want_rerun
* want_run_leaks
* Remove Regrtest.ns attribute.
* Rename Regrtest methods:
* cleanup() => cleanup_temp_dir()
* create_temp_dir() => make_temp_dir()
* set_temp_dir() => select_temp_dir()
* Convert Regrtest methods to static methods:
* cleanup_temp_dir()
* display_header()
* fix_umask()
* get_rerun_match_tests()
* list_tests()
* make_temp_dir()
* select_temp_dir()
* Remove display_sanitizers() method: move code into
display_header().
* Rename 'test_cwd' variable to 'work_dir'.
2023-09-10 03:07:05 +02:00
Erlend Egeberg Aasland
762a4dc936
bpo-10572: Fixup Lib/test/libregrtest/pgo.py (GH-29327)
2021-11-01 09:57:28 +00:00
Brandt Bucher
145bf269df
bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)
...
Co-authored-by: Guido van Rossum <guido@python.org>
Co-authored-by: Talin <viridia@gmail.com>
Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
2021-02-26 14:51:55 -08:00
Steve Dower
e1b9002472
bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage (GH-14985)
...
https://bugs.python.org/issue36044
Automerge-Triggered-By: @zooba
2019-07-28 18:01:12 -07:00
Neil Schemenauer
4e16a4a311
bpo-36044: Reduce number of unit tests run for PGO build (GH-14702)
...
Reduce the number of unit tests run for the PGO generation task. This
speeds up the task by a factor of about 15x. Running the full unit test
suite is slow. This change may result in a slightly less optimized build
since not as many code branches will be executed. If you are willing to
wait for the much slower build, the old behavior can be restored using
'./configure [..] PROFILE_TASK="-m test --pgo-extended"'. We make no
guarantees as to which PGO task set produces a faster build. Users who
care should run their own relevant benchmarks as results can depend on
the environment, workload, and compiler tool chain.
2019-07-22 12:54:25 -07:00