Skip to content

Commit

Permalink
tests: add futex test cases
Browse files Browse the repository at this point in the history
add futex test cases.

Fixes: #14493.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
  • Loading branch information
wentongwu authored and andrewboie committed Jun 24, 2019
1 parent 5611e92 commit a30162b
Show file tree
Hide file tree
Showing 4 changed files with 448 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/kernel/mem_protect/futex/CMakeLists.txt
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(futex)

FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})
3 changes: 3 additions & 0 deletions tests/kernel/mem_protect/futex/prj.conf
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_ZTEST=y
CONFIG_IRQ_OFFLOAD=y
CONFIG_TEST_USERSPACE=y
Loading

0 comments on commit a30162b

Please sign in to comment.