diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-08-21 22:17:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-21 22:17:15 (GMT) |
commit | 29d007bb670b486788f73c2d742b0ad0b679ff13 (patch) | |
tree | c2e94b207dadd3d87deb1ce8e4104c3be8eb0e23 /Makefile.pre.in | |
parent | e76cb435563cd14bb085942dfefbb469b8f40aa9 (diff) | |
download | cpython-29d007bb670b486788f73c2d742b0ad0b679ff13.zip cpython-29d007bb670b486788f73c2d742b0ad0b679ff13.tar.gz cpython-29d007bb670b486788f73c2d742b0ad0b679ff13.tar.bz2 |
[3.6] bpo-30871: Add test.pythoninfo (#3174)
* bpo-30871: Add test.pythoninfo (#3075)
* Add Lib/test/pythoninfo.py: script collecting various informations
about Python to help debugging test failures.
* regrtest: remove sys.hash_info and sys.flags from header.
* Travis CI, Appveyor: run pythoninfo before tests
(cherry picked from commit b907abc88589f7bea52c5afe172ececc6edcda70)
* bpo-30871: pythoninfo: add expat and _decimal (#3121)
* bpo-30871: pythoninfo: add expat and _decimal
* Remove _decimal.__version__
The string is hardcoded, not really interesting.
(cherry picked from commit f6ebd838f00b4c211c72d85ee49749e910cd3afe)
* bpo-30871: Add "make pythoninfo" (#3120)
(cherry picked from commit a3a01a2fceab2188b282ab9911f79c99a4c32273)
* bpo-30871: pythoninfo: more sys, os, time data (#3130)
* bpo-30871: pythoninfo: more sys, os, time data
PythonInfo now converts types other than intger to string by default.
* fix typo
(cherry picked from commit ad7eaed54382b346784e51a6f0122ce81e8842b5)
* bpo-31231: Fix pythoninfo in Travis config (#3134)
bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with
"make pythoninfo", since macOS uses ./python.exe.
(cherry picked from commit 92b1f90143286385c0ff5be98d3721b90580a912)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 93a2bab..0a8ac71 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1001,6 +1001,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 @@ -1039,6 +1041,9 @@ buildbottest: build_all platform fi $(TESTRUNNER) -j 1 -u all -W --slowest --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 \ |