]> granicus.if.org Git - python/commitdiff
Make 'testall' work again when building in a separate directory.
authorThomas Wouters <thomas@python.org>
Sat, 26 Jan 2008 01:47:05 +0000 (01:47 +0000)
committerThomas Wouters <thomas@python.org>
Sat, 26 Jan 2008 01:47:05 +0000 (01:47 +0000)
test_distutils still fails when doing that.

Makefile.pre.in

index ede3bd8d482bd4436bfd30253a077adff48b37c0..c44453961fe56cdc2d9682d49e8d1b4580c1f043 100644 (file)
@@ -617,7 +617,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