We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ec1936 commit db6ddb6Copy full SHA for db6ddb6
app/boards/native_sim.conf
@@ -2,3 +2,5 @@ CONFIG_ZEPHYR_POSIX=y
2
CONFIG_SYS_HEAP_BIG_ONLY=y
3
CONFIG_ZEPHYR_NATIVE_DRIVERS=y
4
CONFIG_ZEPHYR_LOG=y
5
+CONFIG_ZTEST=y
6
+CONFIG_SOF_BOOT_TEST_STANDALONE=y
app/src/main.c
@@ -89,10 +89,12 @@ void sys_arch_reboot(int type)
89
void test_main(void)
90
{
91
sof_app_main();
92
-#if CONFIG_SOF_BOOT_TEST && defined(QEMU_BOOT_TESTS)
+#if CONFIG_SOF_BOOT_TEST
93
sof_run_boot_tests();
94
+#if defined(QEMU_BOOT_TESTS)
95
qemu_xtensa_exit(0);
96
#endif
97
+#endif
98
}
99
#else
100
int main(void)
0 commit comments