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:
Darian Leung
2022-10-15 01:45:47 +08:00
parent 87c3cc57d1
commit 54d7a3bb66
8 changed files with 11 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ cmake_minimum_required(VERSION 3.16)
# type is treated as separate component
set(test_types
"kernel"
"misc"
"performance"
"port")

View 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")