diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-08-22 03:40:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 03:40:26 +0200 |
commit | cce1cb9180dd9143c5b2ce094a52c555b42c7aa8 (patch) | |
tree | be27825b63d714beb090256eb044e404bae66acd /Makefile.pre.in | |
parent | 0fbac706f7c798fdeda63e39009c2285dad2c33f (diff) | |
download | cpython-git-cce1cb9180dd9143c5b2ce094a52c555b42c7aa8.tar.gz |
bpo-30871: Add test.pythoninfo (#3174) (#3175)
* 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)
(cherry picked from commit 29d007bb670b486788f73c2d742b0ad0b679ff13)
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 4f9a7bf9b6..54e9480e21 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -841,6 +841,8 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS) # generated bytecode. This is sometimes a very shy bug needing a lot of # sample data. +.PHONY: test testall testuniversal buildbottest pythoninfo + TESTOPTS= -l $(EXTRATESTOPTS) TESTPROG= $(srcdir)/Lib/test/regrtest.py TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt $(TESTPYTHONOPTS) @@ -877,6 +879,9 @@ buildbottest: build_all platform fi $(TESTPYTHON) -R $(TESTPROG) -uall --slowest -rwW $(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 test_mailbox test_socket test_poll \ |