]> granicus.if.org Git - python/commitdiff
Make the testall target work again when building in a separate directory
authorThomas Wouters <thomas@python.org>
Fri, 25 Jan 2008 23:21:16 +0000 (23:21 +0000)
committerThomas Wouters <thomas@python.org>
Fri, 25 Jan 2008 23:21:16 +0000 (23:21 +0000)
(with '../path/to/source/configure')

Makefile.pre.in

index 8cbde8097c95dc0b6fbcc4188030f1ec06943adf..0a03d87ab676fda8b322f20c67cf3974112a9589 100644 (file)
@@ -646,7 +646,7 @@ test:               all platform
 
 testall:       all platform
                -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
-               $(TESTPYTHON) Lib/compileall.py
+               $(TESTPYTHON) $(srcdir)/Lib/compileall.py
                -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
                -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
                $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall