diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2014-03-30 18:18:58 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2014-03-30 18:18:58 (GMT) |
commit | 80c09cfa491777e46bdb2792ee457b22ccb09a81 (patch) | |
tree | 4be4e10cbb4bf25838d505b4ff6b9c9ae3e0b5f4 /Tools | |
parent | e5bb551cc5042a2523f06d0135d055e2274ae0d7 (diff) | |
download | cpython-80c09cfa491777e46bdb2792ee457b22ccb09a81.zip cpython-80c09cfa491777e46bdb2792ee457b22ccb09a81.tar.gz cpython-80c09cfa491777e46bdb2792ee457b22ccb09a81.tar.bz2 |
Add test case for freeze.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/freeze/test/Makefile | 10 | ||||
-rw-r--r-- | Tools/freeze/test/ok.py | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Tools/freeze/test/Makefile b/Tools/freeze/test/Makefile new file mode 100644 index 0000000..bc0aada --- /dev/null +++ b/Tools/freeze/test/Makefile @@ -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) + 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) |