The 'test' target ought to depend on 'all', not just on python$(EXE)

-- otherwise shared libraries might not be rebuilt.
This commit is contained in:
Guido van Rossum 1999-11-16 15:58:32 +00:00
parent 0eefa3fbbf
commit bcb393f2b2

View file

@ -235,7 +235,7 @@ Modules: Parser Python Objects
TESTOPTS=
TESTPROG= $(srcdir)/Lib/test/regrtest.py
TESTPYTHON= ./python$(EXE)
test: python$(EXE)
test: all
-rm -f $(srcdir)/Lib/test/*.py[co]
-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)