-
Notifications
You must be signed in to change notification settings - Fork 4
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
MATLAB to GroMEt testing #765
Conversation
…stier/gromet_debug
Main description edited to include related and partially resolved issues. |
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.
Looks good. Thank you Joseph!
@titomeister , can you please try resolving these conflicts so that we can merge this PR? |
@titomeister , it looks like the tests are now failing. These were working as of 9933c53. Can you please take another look? |
@myedibleenso I'm looking. For some reason a bunch of places just have outdated pieces of code. I've tried merging what's in main but it doesn't seem to fix it. Trying to fix manually now. |
## MATLAB to GroMEt testing This PR adds GroMEt translation to all pytest cases in the Tree-Sitter MATLAB translator. This was done as part of the fix for a bug that was happening when generating Model Coverage Reports. The CAST to GroMEt converter was reporting correctly that the "list" type is not supported, switching to the corresponding enumeration fixed that issue. ## Relavant Features: - Each pytest case now includes GroMEt translation. - Got rid of some outdated static method typing calls. - `LiteralValue `data types are now CAST enumerations instead of hard-coded strings. - Removed the handler for `Range `Tree-sitter syntax nodes, these nodes are managed by iterator routines - Turned off the pytest series related to loops temporarily Related to issue #725 Partially resolves issue #764 --------- Co-authored-by: Joseph Astier <[email protected]> Co-authored-by: Tito Ferra <[email protected]> Co-authored-by: titomeister <[email protected]> 159d40e
MATLAB to GroMEt testing
This PR adds GroMEt translation to all pytest cases in the Tree-Sitter MATLAB translator. This was done as part of the fix for a bug that was happening when generating Model Coverage Reports. The CAST to GroMEt converter was reporting correctly that the "list" type is not supported, switching to the corresponding enumeration fixed that issue.
Relavant Features:
LiteralValue
data types are now CAST enumerations instead of hard-coded strings.Range
Tree-sitter syntax nodes, these nodes are managed by iterator routinesRelated to issue #725
Partially resolves issue #764