diff --git a/tests/ztest/base/CMakeLists.txt b/tests/ztest/base/CMakeLists.txt index 28ff02e543..e6da41a308 100644 --- a/tests/ztest/base/CMakeLists.txt +++ b/tests/ztest/base/CMakeLists.txt @@ -11,6 +11,4 @@ else() project(base) target_sources(app PRIVATE src/main.c) - - target_sources_ifdef(CONFIG_USERSPACE app PRIVATE src/main_userspace.c) endif() diff --git a/tests/ztest/base/src/main_userspace.c b/tests/ztest/base/src/main_userspace.c deleted file mode 100644 index cc8d81e304..0000000000 --- a/tests/ztest/base/src/main_userspace.c +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) 2022 Google Inc - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include - -ZTEST_USER(framework_tests, test_userspace_is_user) -{ - zassert_true(k_is_user_context(), NULL); -} diff --git a/tests/ztest/base/testcase.yaml b/tests/ztest/base/testcase.yaml index 984b0d826e..41c04a3e51 100644 --- a/tests/ztest/base/testcase.yaml +++ b/tests/ztest/base/testcase.yaml @@ -7,14 +7,6 @@ tests: tags: test_framework integration_platforms: - native_posix - testing.ztest.base.verbose_0_userspace: - filter: CONFIG_ARCH_HAS_USERSPACE - extra_args: CONF_FILE=prj_verbose_0.conf - tags: test_framework userspace - extra_configs: - - CONFIG_TEST_USERSPACE=y - integration_platforms: - - native_posix testing.ztest.base.verbose_1: extra_args: CONF_FILE=prj_verbose_1.conf tags: test_framework