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:
Anas Nashif 2022-04-26 18:07:26 -04:00
parent 85cc902a0d
commit c882843af2
3 changed files with 0 additions and 23 deletions

View file

@ -11,6 +11,4 @@ else()
project(base) project(base)
target_sources(app PRIVATE src/main.c) target_sources(app PRIVATE src/main.c)
target_sources_ifdef(CONFIG_USERSPACE app PRIVATE src/main_userspace.c)
endif() endif()

View file

@ -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);
}

View file

@ -7,14 +7,6 @@ tests:
tags: test_framework tags: test_framework
integration_platforms: integration_platforms:
- native_posix - 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: testing.ztest.base.verbose_1:
extra_args: CONF_FILE=prj_verbose_1.conf extra_args: CONF_FILE=prj_verbose_1.conf
tags: test_framework tags: test_framework