forked from espressif/esp-idf
freertos: Migrate misc tests to test app
This commit migrates the "misc" tests to the test app as a component.
This commit is contained in:
@@ -6,6 +6,7 @@ cmake_minimum_required(VERSION 3.16)
|
|||||||
# type is treated as separate component
|
# type is treated as separate component
|
||||||
set(test_types
|
set(test_types
|
||||||
"kernel"
|
"kernel"
|
||||||
|
"misc"
|
||||||
"performance"
|
"performance"
|
||||||
"port")
|
"port")
|
||||||
|
|
||||||
|
10
components/freertos/test_apps/freertos/misc/CMakeLists.txt
Normal file
10
components/freertos/test_apps/freertos/misc/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Register all of the "misc" tests as a component
|
||||||
|
|
||||||
|
# In order for the cases defined by `TEST_CASE` in "misc" 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")
|
Reference in New Issue
Block a user