From 09c538c8dbd1eae864aef903488de5f665e92aa4 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Thu, 11 Mar 2010 15:08:54 -0300 Subject: [PATCH] fix typo in Makefile and remove make logfile after run --- Demos/embed/Makefile | 2 +- runtests.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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): -- 2.26.2