diff options
Diffstat (limited to 'meta/recipes-devtools/python/python/fix-makefile-for-ptest.patch')
-rw-r--r-- | meta/recipes-devtools/python/python/fix-makefile-for-ptest.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python/fix-makefile-for-ptest.patch b/meta/recipes-devtools/python/python/fix-makefile-for-ptest.patch index 669112dab0..90dcd57c04 100644 --- a/meta/recipes-devtools/python/python/fix-makefile-for-ptest.patch +++ b/meta/recipes-devtools/python/python/fix-makefile-for-ptest.patch | |||
@@ -15,7 +15,7 @@ diff -ruN a/Makefile.pre.in b/Makefile.pre.in | |||
15 | +TESTOPTS= -l -v $(EXTRATESTOPTS) | 15 | +TESTOPTS= -l -v $(EXTRATESTOPTS) |
16 | TESTPROG= $(srcdir)/Lib/test/regrtest.py | 16 | TESTPROG= $(srcdir)/Lib/test/regrtest.py |
17 | -TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) | 17 | -TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) |
18 | -test: all platform | 18 | -test: @DEF_MAKE_RULE@ platform |
19 | - -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f | 19 | - -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f |
20 | +TESTPYTHON= $(RUNSHARED) $(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) | 20 | +TESTPYTHON= $(RUNSHARED) $(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) |
21 | +test: build-test | 21 | +test: build-test |
@@ -26,8 +26,8 @@ diff -ruN a/Makefile.pre.in b/Makefile.pre.in | |||
26 | -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) | 26 | -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) |
27 | $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) | 27 | $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) |
28 | 28 | ||
29 | +build-test: all platform | 29 | +build-test: @DEF_MAKE_RULE@ platform |
30 | + | 30 | + |
31 | testall: all platform | 31 | testall: @DEF_MAKE_RULE@ platform |
32 | -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f | 32 | -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f |
33 | $(TESTPYTHON) $(srcdir)/Lib/compileall.py | 33 | $(TESTPYTHON) $(srcdir)/Lib/compileall.py |