-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add a federated test for TypeScript #646
Conversation
…auncher can be executed when it is generated for federated TypeScript target.
…p federated TypeScript working.
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.
This looks good to me!
Nonetheless, I think we should hold off merging this until after #648 is fixed to avoid intermittent test failures.
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!
Thanks, Soroush and Marten!
I think #648 should not affect this one since the test only checks if this example successfully runs. That is, this should never fail due to #648, I think. I'll wait for your final comments before merging this. Let me know if you have any concerns! |
Oh, taking a second look at the test, shouldn't it keep track of the number of messages received by the PrintMessage reactor and fail if it's not 2? I think at least a |
… of received messages to be exactly 2.
I agree with you that this test needs to be updated to do a better check. I just wanted to make sure we have at least one test that makes sure federated execution itself compiles and works for the TypeScript first. I added a TODO to update the test once the behavior issue (https://github.com/lf-lang/lingua-franca/issues/648) is resolved. But I'd like to have this test in place before I fix that issue. Would this make sense to you? |
Yes it makes perfect sense! Thanks for adding the TODO. |
Thanks, Soroush! |
Add a federated test for TypeScript after fixing issues with federated TypeScript code generation.