Skip to content

Commit 978f559

Browse files
nordicjmkartben
authored andcommitted
tests: kernel: pipe: deprecated: Fix test wrongly passing paramater
Fix these tests so that the parameters are correctly passed to other parts of the build Signed-off-by: Jamie McCrae <[email protected]>
1 parent ab121de commit 978f559

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

tests/kernel/pipe/deprecated/pipe/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
cmake_minimum_required(VERSION 3.20.0)
4+
set(CMAKE_C_FLAGS "-D__deprecated='' -D__DEPRECATED_MACRO=''")
45
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
56
project(pipe)
67

tests/kernel/pipe/deprecated/pipe/testcase.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ tests:
44
- kernel
55
- userspace
66
ignore_faults: true
7-
extra_args: CMAKE_C_FLAGS="-D__deprecated='' -D__DEPRECATED_MACRO=''"

tests/kernel/pipe/deprecated/pipe_api/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
cmake_minimum_required(VERSION 3.20.0)
4+
set(CMAKE_C_FLAGS "-D__deprecated='' -D__DEPRECATED_MACRO=''")
45
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
56
project(pipe_api)
67

tests/kernel/pipe/deprecated/pipe_api/testcase.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ tests:
33
tags:
44
- kernel
55
- userspace
6-
extra_args: CMAKE_C_FLAGS="-D__deprecated='' -D__DEPRECATED_MACRO=''"

0 commit comments

Comments
 (0)