diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2014-03-30 19:32:03 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2014-03-30 19:32:03 (GMT) |
commit | 3da9fbbe83c6c77c3a6db8d93b200dd81ef86a5f (patch) | |
tree | daa5b1ee866a1b82f14ab5db136c40d094160dd3 /Tools | |
parent | c00d39e96aff698a8777120f9537e261c06be0ef (diff) | |
download | cpython-3da9fbbe83c6c77c3a6db8d93b200dd81ef86a5f.zip cpython-3da9fbbe83c6c77c3a6db8d93b200dd81ef86a5f.tar.gz cpython-3da9fbbe83c6c77c3a6db8d93b200dd81ef86a5f.tar.bz2 |
Add test case for freeze.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/freeze/test/Makefile | 11 | ||||
-rw-r--r-- | Tools/freeze/test/ok.py | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Tools/freeze/test/Makefile b/Tools/freeze/test/Makefile new file mode 100644 index 0000000..1679f72 --- /dev/null +++ b/Tools/freeze/test/Makefile @@ -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 + diff --git a/Tools/freeze/test/ok.py b/Tools/freeze/test/ok.py new file mode 100644 index 0000000..e15e0b4 --- /dev/null +++ b/Tools/freeze/test/ok.py @@ -0,0 +1,2 @@ +import sys +sys.exit(0) |