Extended printf test with new mixed format cases (#1988)

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.
This commit is contained in:
Marcin Hajder
2024-07-09 17:47:31 +02:00
committed by GitHub
parent c1af7c3301
commit 8cd2b7d799
3 changed files with 390 additions and 155 deletions

View File

@@ -58,6 +58,7 @@ enum PrintfTestType
TYPE_FORMAT_STRING,
TYPE_VECTOR,
TYPE_ADDRESS_SPACE,
TYPE_MIXED_FORMAT_RANDOM,
TYPE_COUNT
};