Skip to content

Commit 53a47a2

Browse files
aescolarfabiobaltieri
authored andcommitted
tests/kernel/context: Correct dependency
An ifdef should have been also checking for native_sim, let's correct it. Note: By now native_sim builds with "native_posix compatibility mode" enabled, which sets BOARD_NATIVE_POSIX to avoid breaking all this kind of dependencies. But that will stop soon. So let's fix the dependencies. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 12d3748 commit 53a47a2

File tree

1 file changed

+1
-1
lines changed
  • tests/kernel/context/src

1 file changed

+1
-1
lines changed

tests/kernel/context/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
#elif defined(CONFIG_SPARC)
5858
#elif defined(CONFIG_MIPS)
5959
#elif defined(CONFIG_ARCH_POSIX)
60-
#if defined(CONFIG_BOARD_NATIVE_POSIX)
60+
#if defined(CONFIG_BOARD_NATIVE_POSIX) || defined(CONFIG_BOARD_NATIVE_SIM)
6161
#define TICK_IRQ TIMER_TICK_IRQ
6262
#else
6363
/*

0 commit comments

Comments
 (0)