ztest: increase default mock parameter count

If one enables mocking, then they most likely want more than 1 mockable
or verifiable parameter by default. Bump the default number of mockable
parameters to 10 to handle most cases without needing to touch an
additional Kconfig option.

Signed-off-by: Jett Rink <jettrink@google.com>
This commit is contained in:
Jett Rink 2020-08-03 09:42:20 -06:00 committed by Anas Nashif
parent 0fe6707199
commit a6e1706269

View file

@ -64,7 +64,7 @@ config ZTEST_MOCKING
config ZTEST_PARAMETER_COUNT
int "Count of parameters or return values reserved"
default 1
default 10
depends on ZTEST_MOCKING
help
Maximum amount of concurrent return values / expected parameters.