mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
freertos: Migrate port tests to test app
This commit migrates the "port" tests to the test app as a component.
This commit is contained in:
parent
df4bfeee5b
commit
df9aa722af
@ -5,7 +5,8 @@ cmake_minimum_required(VERSION 3.16)
|
||||
# split into different directores in the test app's root directory. Each test
|
||||
# type is treated as separate component
|
||||
set(test_types
|
||||
"kernel")
|
||||
"kernel"
|
||||
"port")
|
||||
|
||||
list(APPEND EXTRA_COMPONENT_DIRS
|
||||
${test_types} # Add each test type as a component
|
||||
|
10
components/freertos/test_apps/freertos/port/CMakeLists.txt
Normal file
10
components/freertos/test_apps/freertos/port/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
# Register all of the "port" tests as a component
|
||||
|
||||
# In order for the cases defined by `TEST_CASE` in "port" to be linked into
|
||||
# the final elf, the component can be registered as WHOLE_ARCHIVE
|
||||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_REQUIRES test_utils
|
||||
WHOLE_ARCHIVE)
|
||||
|
||||
# Todo: Fix no-format errors
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
Loading…
Reference in New Issue
Block a user