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 | 34 |
1 files changed, 0 insertions, 34 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 deleted file mode 100644 index 60d782cd26..0000000000 --- a/meta/recipes-devtools/python/python/fix-makefile-for-ptest.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | Add 'build-test' and 'runtest-TESTS' targets to Makefile, to build and run tests | ||
2 | cross-compiled. | ||
3 | |||
4 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> | ||
5 | Upstream-Status: Pending | ||
6 | --- | ||
7 | Index: Python-2.7.14/Makefile.pre.in | ||
8 | =================================================================== | ||
9 | --- Python-2.7.14.orig/Makefile.pre.in | ||
10 | +++ Python-2.7.14/Makefile.pre.in | ||
11 | @@ -846,14 +846,19 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/pytho | ||
12 | |||
13 | .PHONY: test testall testuniversal buildbottest pythoninfo | ||
14 | |||
15 | -TESTOPTS= -l $(EXTRATESTOPTS) | ||
16 | +TESTOPTS= -l -v $(EXTRATESTOPTS) | ||
17 | TESTPROG= $(srcdir)/Lib/test/regrtest.py | ||
18 | -TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) | ||
19 | -test: @DEF_MAKE_RULE@ platform | ||
20 | - -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f | ||
21 | +TESTPYTHON= $(RUNSHARED) $(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) | ||
22 | +test: build-test | ||
23 | + $(MAKE) runtest-TESTS | ||
24 | + | ||
25 | +runtest-TESTS: | ||
26 | + -find $(srcdir) -name '*.py[co]' -print | xargs rm -f | ||
27 | -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) | ||
28 | $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) | ||
29 | |||
30 | +build-test: @DEF_MAKE_RULE@ platform | ||
31 | + | ||
32 | testall: @DEF_MAKE_RULE@ platform | ||
33 | -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f | ||
34 | $(TESTPYTHON) $(srcdir)/Lib/compileall.py | ||