]> granicus.if.org Git - python/commitdiff
bpo-30871: Add "make pythoninfo" (#3120)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Aug 2017 09:31:52 +0000 (11:31 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2017 09:31:52 +0000 (11:31 +0200)
Makefile.pre.in

index 98934916578062482023058efcc30e515bbcbdbe..57d2ab72ba99b04372435c6f8db51b1beccf2476 100644 (file)
@@ -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 \