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:
parent
a495fd9475
commit
c81d95b9ae
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue