Revert "ztest: add userspace tests to base tests"
This reverts commit 395bbb5122
.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
85cc902a0d
commit
c882843af2
|
@ -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()
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) 2022 Google Inc
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <kernel.h>
|
||||
#include <ztest.h>
|
||||
|
||||
ZTEST_USER(framework_tests, test_userspace_is_user)
|
||||
{
|
||||
zassert_true(k_is_user_context(), NULL);
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue