Add -Wd and -3 to the flags used to run the tests.
This commit is contained in:
parent
6257a7bbb2
commit
90fd01b787
|
@ -683,13 +683,13 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
|
|||
# In the past, we've had problems where bugs in the marshalling or
|
||||
# elsewhere caused bytecode read from .pyc files to behave differently
|
||||
# than bytecode generated directly from a .py source file. Sometimes
|
||||
# the bytecode read from a .pyc file had the bug, somtimes the directly
|
||||
# the bytecode read from a .pyc file had the bug, sometimes the directly
|
||||
# generated bytecode. This is sometimes a very shy bug needing a lot of
|
||||
# sample data.
|
||||
|
||||
TESTOPTS= -l $(EXTRATESTOPTS)
|
||||
TESTPROG= $(srcdir)/Lib/test/regrtest.py
|
||||
TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -E -tt
|
||||
TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt
|
||||
test: all platform
|
||||
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
|
||||
-$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
|
||||
|
|
Loading…
Reference in New Issue