[lit] Fix tests on Windowsmax-time.py: Windows does not have a native `sleep` command, use `time.sleep()` in Python instead.max-failures.py: The max-failure test reused the shtest-shell tes
[lit] Fix tests on Windowsmax-time.py: Windows does not have a native `sleep` command, use `time.sleep()` in Python instead.max-failures.py: The max-failure test reused the shtest-shell test inputs instead of defining its own "test domain". However, the output of this shtest-shell "test domain" is slightly different on Windows, which now bites us since we made the max-failures test stricter. Let's define our own "max failures" test domain.
show more ...
[lit] Add SKIPPED test result categoryTrack and print the number of skipped tests. Skipped tests are teststhat should have been executed but weren't due to: * user interrupt [Ctrl+C] * --max-
[lit] Add SKIPPED test result categoryTrack and print the number of skipped tests. Skipped tests are teststhat should have been executed but weren't due to: * user interrupt [Ctrl+C] * --max-time (overall lit timeout) * --max-failuresThis is part of a larger effort to ensure that all discovered tests areproperly accounted for.Add test for overall lit timeout feature (`--max-time` option) toobserve skipped tests. Extend test for `--max-failures` option.Reviewed By: jdennyDifferential Revision: https://reviews.llvm.org/D77819