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
File | Mode | Size |
---|---|---|
1x1-green.png | -rw-r--r-- | 135 bytes |
2048x1360-random.jpg | -rw-r--r-- | 4.3 MB |
A4.mp4 | -rw-r--r-- | 52.2 KB |
A4.ogv | -rw-r--r-- | 92.2 KB |
OWNERS | -rw-r--r-- | 21 bytes |
counting.mp4 | -rw-r--r-- | 304.0 KB |
counting.ogv | -rw-r--r-- | 183.4 KB |
foo-no-cors.vtt | -rw-r--r-- | 42 bytes |
foo.vtt | -rw-r--r-- | 42 bytes |
foo.vtt.headers | -rw-r--r-- | 30 bytes |
green-at-15.mp4 | -rw-r--r-- | 292.2 KB |
green-at-15.ogv | -rw-r--r-- | 280.9 KB |
movie_300.mp4 | -rw-r--r-- | 2.6 MB |
movie_300.ogv | -rw-r--r-- | 2.2 MB |
movie_5.mp4 | -rw-r--r-- | 30.9 KB |
movie_5.ogv | -rw-r--r-- | 18.2 KB |
poster.png | -rw-r--r-- | 13.8 KB |
sound_5.mp3 | -rw-r--r-- | 22.9 KB |
sound_5.oga | -rw-r--r-- | 18.1 KB |
test-a-128k-44100Hz-1ch.webm | -rw-r--r-- | 9.6 KB |
test-av-384k-44100Hz-1ch-320x240-30fps-10kfr.webm | -rw-r--r-- | 74.7 KB |
test-v-128k-320x240-24fps-8kfr.webm | -rw-r--r-- | 37.3 KB |
test.mp4 | -rw-r--r-- | 188.3 KB |
test.ogv | -rw-r--r-- | 143.1 KB |
white.mp4 | -rw-r--r-- | 13.4 KB |
white.webm | -rw-r--r-- | 10.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...