Skip to content
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

Extended printf test with new strings cases #1951

Merged
merged 8 commits into from
Jun 18, 2024

Conversation

shajder
Copy link
Contributor

@shajder shajder commented Apr 19, 2024

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)

…nd format string

-correction to remove duplication of separate tests for each element of
vector
-added new sort of test to verify format string
-extended previous string tests with special and nested symbols
@shajder shajder marked this pull request as ready for review April 19, 2024 16:28
@svenvh svenvh self-requested a review April 22, 2024 07:46
@lakshmih
Copy link
Contributor

Reviewing

test_conformance/printf/util_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/test_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/test_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/test_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/test_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/test_printf.h Outdated Show resolved Hide resolved
test_conformance/printf/util_printf.cpp Outdated Show resolved Hide resolved
svenvh
svenvh previously approved these changes May 20, 2024
-corrected bug in makePrintfProgram of using uninitialised name and
extension
-handled single printf argument use case
-rearranged skip conditions in main doTest loop
-clang format
@neiltrevett neiltrevett merged commit 582fea5 into KhronosGroup:main Jun 18, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants