diff options
Diffstat (limited to 'Tools/freeze')
-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) |