summaryrefslogtreecommitdiff
path: root/Tools/freeze/test
Commit message (Collapse)AuthorAgeFilesLines
* gh-102151: Correctly fetch CONFIG_ARGS in Tools/freeze/test/freeze.py (#102152)Erlend E. Aasland2023-02-231-1/+1
|
* gh-89792: Limit test_tools freeze test build parallelism based on the number ↵Gregory P. Smith2023-02-111-3/+12
| | | | | of cores (#101841) unhardcode freeze test build parallelism. base it on the number of cpus, don't use more than max(2, os.cpu_count()/3).
* gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test ↵Gregory P. Smith2023-02-111-1/+13
| | | | | | | | | (#101837) Prevent test_tools from copying 1000M of "source" It doesn't need a git repo, just the checkout. We skip .git metadata, Doc/build, Doc/venv, and `__pycache__` subdirs, that developers often have in their clients to reduce the size of the source tree copy ten-fold. This should significantly reduce IO and presumably time on buildbots during this long test.
* gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358)Victor Stinner2022-05-061-1/+2
| | | | | Fix tests failing with the PYTHONSAFEPATH=1 env var. Enhance also -P help in Python usage (python --help).
* Fix EncodingWarning in Tools/freeze/test/freeze.py (GH-29742)Inada Naoki2021-11-301-2/+2
|
* bpo-45783: Preserve file moves and deletions in the tests for the freeze ↵Eric Snow2021-11-231-31/+11
| | | | | | tool. (GH-29527) Use shutil.copytree rather than Git, which might be missing (or configured differently) when testing Python built from a source release.
* bpo-45696: Deep-freeze selected modules (GH-29118)Guido van Rossum2021-11-101-7/+17
| | | | | | | This gains 10% or more in startup time for `python -c pass` on UNIX-ish systems. The Makefile.pre.in generating code builds on Eric's work for bpo-45020, but the .c file generator is new. Windows version TBD.
* bpo-45629: Add a test for the "freeze" tool. (gh-29222)Eric Snow2021-10-281-0/+194
| | | | | | | The "freeze" tool has been part of the repo for a long time. However, it hasn't had any tests in the test suite to guard against regressions. We add such a test here. This is especially important as there has been a lot of change recently related to frozen modules, with more to come. Note that as part of the test we build Python out-of-tree and install it in a temp dir. https://bugs.python.org/issue45629
* bpo-31462: Remove trailing whitespaces. (#3564)Serhiy Storchaka2017-09-141-1/+1
|
* Run test program.Martin v. Löwis2014-03-301-0/+1
|
* Add test case for freeze.Martin v. Löwis2014-03-302-0/+12