mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Add test case for freeze.
This commit is contained in:
parent
e5bb551cc5
commit
80c09cfa49
3 changed files with 14 additions and 0 deletions
|
@ -150,6 +150,8 @@ Documentation
|
|||
Tests
|
||||
-----
|
||||
|
||||
- Add test case for freeze.
|
||||
|
||||
- Issue #20743: Fix a reference leak in test_tcl.
|
||||
|
||||
- Issue #21097: Move test_namespace_pkgs into test_importlib.
|
||||
|
|
10
Tools/freeze/test/Makefile
Normal file
10
Tools/freeze/test/Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Makefile to test freeze
|
||||
# set PYTHON to path of Python interpreter to test
|
||||
PYTHON=python
|
||||
# set OUTDIR to the temp directory for freeze
|
||||
OUTDIR=outdir
|
||||
|
||||
test:
|
||||
$(PYTHON) ../freeze.py -o $(OUTDIR) ok.py
|
||||
make -C $(OUTDIR)
|
||||
|
2
Tools/freeze/test/ok.py
Normal file
2
Tools/freeze/test/ok.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
import sys
|
||||
sys.exit(0)
|
Loading…
Add table
Add a link
Reference in a new issue