summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-08-18 09:31:52 (GMT)
committerGitHub <noreply@github.com>2017-08-18 09:31:52 (GMT)
commita3a01a2fceab2188b282ab9911f79c99a4c32273 (patch)
tree7c8544feffc213af7cb5c2edad5006f5c7423f7f
parentb9ff498793611d1c6a9b99df464812931a1e2d69 (diff)
downloadcpython-a3a01a2fceab2188b282ab9911f79c99a4c32273.zip
cpython-a3a01a2fceab2188b282ab9911f79c99a4c32273.tar.gz
cpython-a3a01a2fceab2188b282ab9911f79c99a4c32273.tar.bz2
bpo-30871: Add "make pythoninfo" (#3120)
-rw-r--r--Makefile.pre.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 9893491..57d2ab7 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 \