-
Notifications
You must be signed in to change notification settings - Fork 17
[tests] Enable MLIR C++ unittest with lit #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR requires a new build of LLVM |
test/gc-dialects/Unit/lit.cfg.py
Outdated
@@ -0,0 +1,50 @@ | |||
# -*- Python -*- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we don't need the multiple directories like gc-dialects
to share the lit
python files for other components like transforms/passes, runtime and others?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The C++-based unittest is a special case. Filecheck tests don't need this lit config file.
Add an example gtest unittest for MLIR and let it be driven by lit. The required cmake and lit configs are also added.