-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite cts_exe.py to handle match logic
cts_exe.py has been rewritten to include the logic for handling .match files. Specifically, it will divide the test space into two halves; tests that are expected to pass, and those that are expected to fail. For the tests expected to pass, it will run them all in the same gtest invocation with the assumption that it succeeds. For the tests expected to fail, they will each be ran with individual gtest invocations. This allows them to freely segfault or abort without hurting other tests. In this commit, the match files are (mostly) unchanged, and the passing and failing tests should be the same. The match file is treated as a list of failing tests with a few tokens that are replaced: * `{{NONDETERMINISTIC}}` ignored, required for compatibility with the match checker. * `{{OPT}}` this test may or may not fail. It's still ran seperately, but doesn't report an error on failure. * `{{.*}}` replaced with `*`; converts "match" wildcard matches to "gtest" test name matches. * `#` and empty lines are ignored and treated as a comment. * `{{Segmentation` for compatibility, this will cause a failure in the "excepted success" execution to not count as an error. This matches the behaviour of the prior match test logic. Some .match files have been fixed and empty ones have been removed. If GTEST_OUTPUT is specified, we assume that we are being run in ctest_parser.py and don't do anything fancy.
- Loading branch information
1 parent
568a96a
commit d8e6dd9
Showing
6 changed files
with
141 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.