Skip to content

Commit f71611d

Browse files
committed
tests: boards: native_posix: cpu_wait: Add native_posix_64 support
Adds the new native_posix_64 supported board to the test. Signed-off-by: Jamie McCrae <[email protected]>
1 parent 348fa78 commit f71611d

File tree

1 file changed

+3
-2
lines changed
  • tests/boards/native_posix/cpu_wait/src

1 file changed

+3
-2
lines changed

tests/boards/native_posix/cpu_wait/src/main.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ static void np_timer_isr_test_replacement(const void *arg)
213213
*/
214214
ZTEST(native_cpu_hold, test_cpu_hold_with_interrupts)
215215
{
216-
#if defined(CONFIG_BOARD_NATIVE_POSIX)
216+
#if defined(CONFIG_BOARD_NATIVE_POSIX) || \
217+
defined(CONFIG_BOARD_NATIVE_POSIX_64)
217218
/* So far we only have a test for native_posix.
218219
* As the test hooks into an interrupt to cause an extra delay
219220
* this is very platform specific
@@ -286,7 +287,7 @@ ZTEST(native_cpu_hold, test_cpu_hold_with_interrupts)
286287
PRIu64"-"PRIu64"!="PRIu32"\n",
287288
time2, time1, ONE_TICK_TIME);
288289

289-
#endif /* defined(CONFIG_BOARD_NATIVE_POSIX) */
290+
#endif /* defined(CONFIG_BOARD_NATIVE_POSIX) || defined(CONFIG_BOARD_NATIVE_POSIX_64) || */
290291
}
291292

292293
ZTEST_SUITE(native_cpu_hold, NULL, NULL, NULL, NULL, NULL);

0 commit comments

Comments
 (0)