Add test case for freeze.
This commit is contained in:
parent
c00d39e96a
commit
3da9fbbe83
|
@ -120,6 +120,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.
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# 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)
|
||||
$(OUTDIR)/ok
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
import sys
|
||||
sys.exit(0)
|
Loading…
Reference in New Issue