Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e09b623

Browse files
committed
Merged revisions 79982 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r79982 | antoine.pitrou | 2010-04-12 02:10:46 +0200 (lun., 12 avril 2010) | 8 lines It is possible to add extra testing options using EXTRATESTOPTS. When such extra options include "-x testname", subsequent arguments are all taken as test names to ignore. Therefore, standard options must be passed before *TESTOPTS. (witnessed on the ARM buildbots) ........
1 parent 9faa7ec commit e09b623

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Makefile.pre.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,8 @@ testall: all platform
729729
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
730730
$(TESTPYTHON) $(srcdir)/Lib/compileall.py
731731
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
732-
-$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
733-
$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
732+
-$(TESTPYTHON) $(TESTPROG) -uall $(TESTOPTS)
733+
$(TESTPYTHON) $(TESTPROG) -uall $(TESTOPTS)
734734

735735
# Run the unitests for both architectures in a Universal build on OSX
736736
# Must be run on an Intel box.
@@ -740,9 +740,9 @@ testuniversal: all platform
740740
exit 1 ;\
741741
fi
742742
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
743-
-$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
744-
$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
745-
$(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E $(TESTPROG) $(TESTOPTS) -uall
743+
-$(TESTPYTHON) $(TESTPROG) -uall $(TESTOPTS)
744+
$(TESTPYTHON) $(TESTPROG) -uall $(TESTOPTS)
745+
$(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E $(TESTPROG) -uall $(TESTOPTS)
746746

747747

748748
# Like testall, but with a single pass only
@@ -751,7 +751,7 @@ buildbottest: all platform
751751
-@if which pybuildbot.identify >/dev/null 2>&1; then \
752752
pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \
753753
fi
754-
$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall -rwW
754+
$(TESTPYTHON) $(TESTPROG) -uall -rwW $(TESTOPTS)
755755

756756
QUICKTESTOPTS= $(TESTOPTS) -x test_subprocess test_io test_lib2to3 \
757757
test_multibytecodec test_urllib2_localnet test_itertools \

0 commit comments

Comments
 (0)