Make run-tests.py warn when it's not testing anything
authoradamk <adamk@chromium.org>
Mon, 10 Aug 2015 18:16:23 +0000 (11:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 10 Aug 2015 18:16:31 +0000 (18:16 +0000)
commit1b1de2d221a0ed23e529e91bf9fa3dc287acb2ca
treee8ff065e01fc24dc6da8b64b85a131262b0c318a
parent34c564095685e997f1b14143994f6c26a13dc615
Make run-tests.py warn when it's not testing anything

I've often been confused by an "all passed" run of the test script
when it turned out that either all the tests I cared about were skipped
or, more likely, I mistyped the name(s) of the tests I wanted to run.
This patch aims to fix that (and gives a useful diagnostic for the
"all matched tests were skipped" case).

R=machenbach@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/1283513003

Cr-Commit-Position: refs/heads/master@{#30095}
tools/run-tests.py