From: Lisandro Dalcin Date: Thu, 11 Mar 2010 18:08:54 +0000 (-0300) Subject: fix typo in Makefile and remove make logfile after run X-Git-Tag: 0.13.beta0~319^2~2^2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=09c538c8dbd1eae864aef903488de5f665e92aa4;p=cython.git fix typo in Makefile and remove make logfile after run --- diff --git a/Demos/embed/Makefile b/Demos/embed/Makefile index 2117e558..0cdb7b44 100644 --- a/Demos/embed/Makefile +++ b/Demos/embed/Makefile @@ -1,6 +1,6 @@ # Makefile for creating our standalone Cython program PYTHON=python -PYVERSION=$(shell ($PYTHON) -c "import sys; print(sys.version[:3])") +PYVERSION=$(shell $(PYTHON) -c "import sys; print(sys.version[:3])") PYPREFIX=$(shell $(PYTHON) -c "import sys; print(sys.prefix)") LINKFORSHARED=$(shell $(PYTHON) -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LINKFORSHARED'))") INCLUDES=-I$(PYPREFIX)/include/python$(PYVERSION) diff --git a/runtests.py b/runtests.py index e06873e2..226bf9dd 100644 --- a/runtests.py +++ b/runtests.py @@ -633,6 +633,10 @@ class EmbedTest(unittest.TestCase): def test_embed(self): self.assert_(os.system( "make PYTHON='%s' test > make.output" % sys.executable) == 0) + try: + os.remove('make.output') + except OSError: + pass class MissingDependencyExcluder: def __init__(self, deps):