forked from Imagelibrary/rtems
libtest: Add T_CHECK_FMT
Rename internal function T_check_true() to T_check() and use the new flag T_CHECK_FMT to indicate if a format string is present. This is a preparation step to make the format string optional. Make the check context the first parameter. The API remains the same. Update #3199.
This commit is contained in:
@@ -93,7 +93,8 @@ T_posix_keys_case_end(void)
|
||||
|
||||
if (delta != 0) {
|
||||
T_posix_key_value_count = count;
|
||||
T_check_true(false, NULL, "POSIX key value pair leak (%zi)", delta);
|
||||
T_check(&T_special, false, "POSIX key value pair leak (%zi)",
|
||||
delta);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user