Commit 978f5592 authored by Jamie McCrae's avatar Jamie McCrae Committed by Benjamin Cabé
Browse files

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: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent ab121dec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

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

+0 −1
Original line number Diff line number Diff line
@@ -4,4 +4,3 @@ tests:
      - kernel
      - userspace
    ignore_faults: true
    extra_args: CMAKE_C_FLAGS="-D__deprecated='' -D__DEPRECATED_MACRO=''"
+1 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

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

+0 −1
Original line number Diff line number Diff line
@@ -3,4 +3,3 @@ tests:
    tags:
      - kernel
      - userspace
    extra_args: CMAKE_C_FLAGS="-D__deprecated='' -D__DEPRECATED_MACRO=''"