Revision 410fe8465f4c5a51d25d95c62a53b569d980c1cf authored by Robert Ma on 19 March 2018, 15:34:37 UTC, committed by Robert Ma on 19 March 2018, 15:34:37 UTC
Similar to #10030 (which was for `wpt run`), this commit makes `wpt
check-stability` return a non-zero exit code when no tests run.

Also fix some code smells:

* `run` was redefined by `do_delayed_imports` to a different function.
  Rename the other `run` method in this module to `setup_and_run`.
* `retcode` was unnecessarily defined in the top scope. Remove it to
  avoid redefinition.
* `global logger` and the call to `get_parser` were extraneous in `run`
  (now `setup_and_run`) and hence are removed.
1 parent 9b3bb05
History
File Mode Size
OWNERS -rw-r--r-- 23 bytes
README.md -rw-r--r-- 2.9 KB
doc-abstract-manual.html -rw-r--r-- 2.4 KB
doc-acknowledgments-manual.html -rw-r--r-- 2.8 KB
doc-afterword-manual.html -rw-r--r-- 2.7 KB
doc-appendix-manual.html -rw-r--r-- 2.7 KB
doc-backlink-manual.html -rw-r--r-- 3.1 KB
doc-biblioentry-manual.html -rw-r--r-- 2.6 KB
doc-bibliography-manual.html -rw-r--r-- 2.8 KB
doc-biblioref-manual.html -rw-r--r-- 3.1 KB
doc-chapter-manual.html -rw-r--r-- 2.7 KB
doc-colophon-manual.html -rw-r--r-- 2.4 KB
doc-conclusion-manual.html -rw-r--r-- 2.8 KB
doc-cover-manual.html -rw-r--r-- 2.3 KB
doc-credit-manual.html -rw-r--r-- 2.4 KB
doc-credits-manual.html -rw-r--r-- 2.7 KB
doc-dedication-manual.html -rw-r--r-- 2.4 KB
doc-endnote-manual.html -rw-r--r-- 2.6 KB
doc-endnotes-manual.html -rw-r--r-- 2.7 KB
doc-epigraph-manual.html -rw-r--r-- 2.4 KB
doc-epilogue-manual.html -rw-r--r-- 2.7 KB
doc-errata-manual.html -rw-r--r-- 2.7 KB
doc-example-manual.html -rw-r--r-- 2.4 KB
doc-footnote-manual.html -rw-r--r-- 2.4 KB
doc-foreword-manual.html -rw-r--r-- 2.7 KB
doc-glossary-manual.html -rw-r--r-- 2.7 KB
doc-glossref-manual.html -rw-r--r-- 3.1 KB
doc-index-manual.html -rw-r--r-- 2.7 KB
doc-introduction-manual.html -rw-r--r-- 2.8 KB
doc-noteref-manual.html -rw-r--r-- 3.1 KB
doc-notice-manual.html -rw-r--r-- 2.4 KB
doc-pagebreak-manual.html -rw-r--r-- 2.5 KB
doc-pagelist-manual.html -rw-r--r-- 2.7 KB
doc-part-manual.html -rw-r--r-- 2.7 KB
doc-preface-manual.html -rw-r--r-- 2.7 KB
doc-prologue-manual.html -rw-r--r-- 2.7 KB
doc-pullquote-manual.html -rw-r--r-- 2.4 KB
doc-qna-manual.html -rw-r--r-- 2.4 KB
doc-subtitle-manual.html -rw-r--r-- 2.4 KB
doc-tip-manual.html -rw-r--r-- 2.4 KB
doc-toc-manual.html -rw-r--r-- 2.7 KB

README.md

back to top