Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c00d39e commit 3da9fbbCopy full SHA for 3da9fbb
3 files changed
Misc/NEWS
@@ -120,6 +120,8 @@ Documentation
120
Tests
121
-----
122
123
+- Add test case for freeze.
124
+
125
- Issue #20743: Fix a reference leak in test_tcl.
126
127
- Issue #21097: Move test_namespace_pkgs into test_importlib.
Tools/freeze/test/Makefile
@@ -0,0 +1,11 @@
1
+# Makefile to test freeze
2
+# set PYTHON to path of Python interpreter to test
3
+PYTHON=python
4
+# set OUTDIR to the temp directory for freeze
5
+OUTDIR=outdir
6
7
+test:
8
+ $(PYTHON) ../freeze.py -o $(OUTDIR) ok.py
9
+ make -C $(OUTDIR)
10
+ $(OUTDIR)/ok
11
Tools/freeze/test/ok.py
@@ -0,0 +1,2 @@
+import sys
+sys.exit(0)
0 commit comments