-
Notifications
You must be signed in to change notification settings - Fork 36
Fix missing C stderr output (fprintf(stderr, ...) not shown) #402
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #402 +/- ##
==========================================
- Coverage 82.29% 82.05% -0.25%
==========================================
Files 21 21
Lines 853 858 +5
Branches 87 89 +2
==========================================
+ Hits 702 704 +2
- Misses 151 154 +3
... and 1 file with indirect coverage changes
🚀 New features to boost your workflow:
|
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.
clang-tidy made some suggestions
|
I have checked this PR, and it does solve the problem. @anutosh491 make the clang tidy and clang format workflows happy, and I will approve and take in. |
Thank you, I shall do that soon (afk for sometime) We technically need to track that we should test such fixes in favour of the C Kernel whenever we end up with a framework for that. I haven't gone through all the discussion but as far as I remember, cppinterop needs to provide us with a utility to differentiate between C++ and C snippets isn't it ? |
Yes, that is exactly what needs to be done to enable c kernel tests. I have already tested the other small change which would be needed in test_xcpp_kernel.py to run the c kernel tests. If you mention all the things you think the c kernel tests should be testing in the issue already open about adding c tests #394 then I can add them once the cppinterop utility is available. |
028cec0 to
1000fb9
Compare
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.
clang-tidy made some suggestions
|
Technically this change was made in favour of the C Kernel, but I guess we can check some redirection through a simple test like this through tests that cater to our C++ kernel. Fails on masters but now works as can be seen through the CI. |
|
Last commit satisfies clang format but if it's over the top, can be reverted. |
|
Possibly this fix can help y'all. Hence bringing to your notice |



Description
Fixes #381
Type of change
Please tick all options which are relevant.