-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[circt-test] Add test discovery classes and
-l
option (#7755)
Add the `TestSuite` and `Test` classes to represent the discovered tests. Instead of directly printing ops to the output, first traverse the provided MLIR module and populate a test suite object with the discovered tests. Then print the list of tests in the test suite. A separate test discovery step will later allow us to discover tests via other means, for example, by scanning an entire Verilog directory for marker comments.
- Loading branch information
1 parent
c5d16ee
commit f2fbf63
Showing
2 changed files
with
106 additions
and
41 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