We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b074e6 commit 76e6197Copy full SHA for 76e6197
1 file changed
drivers/test/src/test.c
@@ -193,10 +193,12 @@ void* bake_test_run_suite_range(
193
194
char *test_name = ut_asprintf("%s.%s", suite->id, test->id);
195
ut_proc proc;
196
- int8_t rc;
197
- int sig;
+ int8_t rc = 0;
+ int sig = 0;
198
bool proc_fail = false;
199
200
+ memset(&proc, 0, sizeof(ut_proc));
201
+
202
if (prefix) {
203
char *has_space = strchr(prefix, ' ');
204
if (has_space) {
@@ -932,4 +934,4 @@ void test_quarantine(const char *date) {
932
934
ut_log("#[yellow]SKIP#[reset]: %s.%s: test was quarantined on %s\n",
933
935
current_testsuite->id, current_testcase->id, date);
936
exit(0);
-}
937
+}
0 commit comments