[Python-checkins] bpo-30871: Add "make pythoninfo" (#3120)

Victor Stinner webhook-mailer at python.org
Fri Aug 18 05:31:58 EDT 2017


https://github.com/python/cpython/commit/a3a01a2fceab2188b282ab9911f79c99a4c32273
commit: a3a01a2fceab2188b282ab9911f79c99a4c32273
branch: master
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-08-18T11:31:52+02:00
summary:

bpo-30871: Add "make pythoninfo" (#3120)

files:
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index 98934916578..57d2ab72ba9 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -999,6 +999,8 @@ TESTPYTHON=	$(RUNSHARED) ./$(BUILDPYTHON) $(TESTPYTHONOPTS)
 TESTRUNNER=	$(TESTPYTHON) $(srcdir)/Tools/scripts/run_tests.py
 TESTTIMEOUT=	1200
 
+.PHONY: test testall testuniversal buildbottest pythoninfo
+
 # Run a basic set of regression tests.
 # This excludes some tests that are particularly resource-intensive.
 test:		@DEF_MAKE_RULE@ platform
@@ -1037,6 +1039,9 @@ buildbottest:	build_all platform
 		fi
 		$(TESTRUNNER) -j 1 -u all -W --slowest --fail-env-changed --timeout=$(TESTTIMEOUT) $(TESTOPTS)
 
+pythoninfo: build_all
+		$(RUNSHARED) ./$(BUILDPYTHON) -m test.pythoninfo
+
 QUICKTESTOPTS=	$(TESTOPTS) -x test_subprocess test_io test_lib2to3 \
 		test_multibytecodec test_urllib2_localnet test_itertools \
 		test_multiprocessing_fork test_multiprocessing_spawn \



More information about the Python-checkins mailing list