tests/kernel/common: Enable errno test on native_sim

Enable this test also on native_sim when not using the host
C library

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-28 13:25:12 +01:00 committed by Anas Nashif
parent f981bf2fa0
commit fbf1c19bd6

View File

@ -118,9 +118,8 @@ ZTEST(common_errno, test_thread_context)
void thread_entry_user(void *p1, void *p2, void *p3)
{
#ifdef CONFIG_ARCH_POSIX
/* The errno in native posix will be handled by native
* operation system, so we skip it.
#ifdef CONFIG_NATIVE_LIBC
/* The errno when using the host C library will be handled by it, so we skip it.
*/
ztest_test_skip();
#else