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