riscv: FPU trap: test case thread typo fix

Need to wait for both threads.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
Nicolas Pitre 2024-05-09 20:06:02 -04:00 committed by Johan Hedberg
commit c81d95b9ae

View file

@ -245,7 +245,7 @@ ZTEST(riscv_fpu_sharing, test_multi_thread_interaction)
thread2_entry, NULL, NULL, NULL,
-1, 0, K_NO_WAIT);
zassert_true(k_thread_join(&thread1, K_FOREVER) == 0);
zassert_true(k_thread_join(&thread1, K_FOREVER) == 0);
zassert_true(k_thread_join(&thread2, K_FOREVER) == 0);
}
/*