style: tests: comply with MISRA C:2012 Rule 15.6

Add missing braces to comply with MISRA C:2012 Rule 15.6 and
also following Zephyr's style guideline.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
Pisit Sawangvonganan 2024-08-21 04:02:14 +07:00 committed by Anas Nashif
commit 442a0686fc
26 changed files with 287 additions and 144 deletions

View file

@ -112,8 +112,9 @@ ZTEST(arch_timing, test_arch_timing_smp)
k_thread_start(&threads[i]);
}
for (i = 0; i < num_threads; i++)
for (i = 0; i < num_threads; i++) {
k_thread_join(&threads[i], K_FOREVER);
}
}
#else
ZTEST(arch_timing, test_arch_timing_smp)