Skip to content

Commit c81d95b

Browse files
Nicolas Pitrejhedberg
authored andcommitted
riscv: FPU trap: test case thread typo fix
Need to wait for both threads. Signed-off-by: Nicolas Pitre <[email protected]>
1 parent a495fd9 commit c81d95b

File tree

1 file changed

+1
-1
lines changed
  • tests/arch/riscv/fpu_sharing/src

1 file changed

+1
-1
lines changed

tests/arch/riscv/fpu_sharing/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ ZTEST(riscv_fpu_sharing, test_multi_thread_interaction)
245245
thread2_entry, NULL, NULL, NULL,
246246
-1, 0, K_NO_WAIT);
247247
zassert_true(k_thread_join(&thread1, K_FOREVER) == 0);
248-
zassert_true(k_thread_join(&thread1, K_FOREVER) == 0);
248+
zassert_true(k_thread_join(&thread2, K_FOREVER) == 0);
249249
}
250250

251251
/*

0 commit comments

Comments
 (0)