diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-01-27 03:25:10 +0100 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-01-27 03:36:50 +0100 |
commit | 9d82571b55bde833d0937e5625d0bc778807561a (patch) | |
tree | 45723eb59737ebfce1c7b49ec9b17134a1ae6532 /Makefile | |
parent | cab56031ccee7091d940a477b2269cd8e2210002 (diff) | |
download | ranger-9d82571b55bde833d0937e5625d0bc778807561a.tar.gz |
doctests are no longer silently failing (when failing)
Related issue: #1457 See: https://stackoverflow.com/a/25691978
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 6e27c482..c6b3b35d 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,8 @@ test_flake8: test_doctest: @echo "Running doctests..." - @for FILE in $(shell grep -IHm 1 doctest -r ranger | grep $(FILTER) | cut -d: -f1); do \ + @set -e; \ + for FILE in $(shell grep -IHm 1 doctest -r ranger | grep $(FILTER) | cut -d: -f1); do \ echo "Testing $$FILE..."; \ RANGER_DOCTEST=1 PYTHONPATH=".:"$$PYTHONPATH ${PYTHON} $$FILE; \ done |