[Python-checkins] cpython (3.4): Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/
serhiy.storchaka
python-checkins at python.org
Tue Jul 22 10:05:55 CEST 2014
http://hg.python.org/cpython/rev/10b83036c723
changeset: 91757:10b83036c723
branch: 3.4
parent: 91752:4dac45f88d45
user: Serhiy Storchaka <storchaka at gmail.com>
date: Tue Jul 22 10:24:25 2014 +0300
summary:
Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/
now display special message when and only when there are failures.
files:
Doc/Makefile | 26 ++++++++++++++++----------
Misc/NEWS | 3 +++
2 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/Doc/Makefile b/Doc/Makefile
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -69,24 +69,30 @@
@echo "The overview file is in build/changes."
linkcheck: BUILDER = linkcheck
-linkcheck: build
- @echo "Link check complete; look for any errors in the above output" \
- "or in build/$(BUILDER)/output.txt"
+linkcheck:
+ @$(MAKE) build BUILDER=$(BUILDER) || { \
+ echo "Link check complete; look for any errors in the above output" \
+ "or in build/$(BUILDER)/output.txt"; \
+ false; }
suspicious: BUILDER = suspicious
-suspicious: build
- @echo "Suspicious check complete; look for any errors in the above output" \
- "or in build/$(BUILDER)/suspicious.csv. If all issues are false" \
- "positives, append that file to tools/sphinxext/susp-ignored.csv."
+suspicious:
+ @$(MAKE) build BUILDER=$(BUILDER) || { \
+ echo "Suspicious check complete; look for any errors in the above output" \
+ "or in build/$(BUILDER)/suspicious.csv. If all issues are false" \
+ "positives, append that file to tools/sphinxext/susp-ignored.csv."; \
+ false; }
coverage: BUILDER = coverage
coverage: build
@echo "Coverage finished; see c.txt and python.txt in build/coverage"
doctest: BUILDER = doctest
-doctest: build
- @echo "Testing of doctests in the sources finished, look at the" \
- "results in build/doctest/output.txt"
+doctest:
+ @$(MAKE) build BUILDER=$(BUILDER) || { \
+ echo "Testing of doctests in the sources finished, look at the" \
+ "results in build/doctest/output.txt"; \
+ false; }
pydoc-topics: BUILDER = pydoc-topics
pydoc-topics: build
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -169,6 +169,9 @@
Build
-----
+- Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/
+ now display special message when and only when there are failures.
+
- Issue #17095: Fix Modules/Setup *shared* support.
- Issue #21811: Anticipated fixes to support OS X versions > 10.9.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list