-
Notifications
You must be signed in to change notification settings - Fork 199
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
Corrections for printf test with floating point limits arguments #1940
Conversation
Thanks! Would you be able to provide some more details on what corrections were made here? I see a few changes to the testing scope, but not sure if I've caught all of them. |
Yes, of course: -applied suggestions from @franz , I've done some brief research and I think Michał has a point at (1) it is not certain that -strengthening the test by removing allowance of -extending the frameworks functionality to test multiple conversion formats for the same input data with the same expected output, eg. entry: -rest of corrections comes from clang-format sadly, I think there is no way around (except putting clang-format off comments which I am trying not to abuse) |
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.
Thanks for the summary, that's very helpful. The changes look good to me.
We're reviewing this. Thanks. |
@svenvh FYI: the same problem with skipped vector cases applied to this PR as well, I've corrected it but you may want to review again, thanks. |
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.
Thanks, LGTM.
There are a lot of extraneous blank lines in util_printf.cpp. How would folks feel about removing them? This might be a good time to do it...
+1 for removing them, they're an eyesore. I would suggest doing that in a separate PR though (maybe after the other printf PR is merged too, to avoid merge conflicts). |
According to work plan from issue #1058 Corrections to general test: -removed duplication of separate tests for each element of `PrintfTestType` vector, instead `doTest` procedure would iterate over vector related to specific `PrintfTestType` automaticaly -fixed procedure to assemble kernel source so it can accept only one parameter of the function ( eg. `printf("%%");` ) -incorporated important modifications from #1940 to avoid expected conflicts -warnings fixes, minor corrections, clang format Extension for string testing: -special symbols -nested symbols -all ascii characters -added new type of test `TYPE_FORMAT_STRING` to verify format string only (according to request from the issue)
According to work plan from issue #1058