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 mixed format cases #1988

Merged
merged 6 commits into from
Jul 9, 2024

Conversation

shajder
Copy link
Contributor

@shajder shajder commented Jun 20, 2024

According to work plan from issue #1058

Added new case TYPE_MIXED_FORMAT_RANDOM which focus on three factors:

-data before conversion flags - this is randomly generated ascii string
-randomly generated conversion flags - integer or floating point, for each flag specific argument is generated
-data after conversion flags - this is randomly generated ascii string

Moreover, due to fact in case of TYPE_MIXED_FORMAT_RANDOM test is generated on the fly, logging of negative result was extended.

@svenvh svenvh self-requested a review June 20, 2024 07:51
test_conformance/printf/test_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/test_printf.cpp 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
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.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/util_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/util_printf.cpp Outdated Show resolved Hide resolved
test_conformance/printf/test_printf.cpp Outdated Show resolved Hide resolved
@neiltrevett neiltrevett merged commit 8cd2b7d into KhronosGroup:main Jul 9, 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.

3 participants