kopia lustrzana https://github.com/espressif/esp-idf
freertos: Migrate performance tests to test app
This commit migrates the "performance" tests to the test app as a component.pull/9839/head
rodzic
df9aa722af
commit
87c3cc57d1
|
@ -6,6 +6,7 @@ cmake_minimum_required(VERSION 3.16)
|
|||
# type is treated as separate component
|
||||
set(test_types
|
||||
"kernel"
|
||||
"performance"
|
||||
"port")
|
||||
|
||||
list(APPEND EXTRA_COMPONENT_DIRS
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# Register all of the "performance" tests as a component
|
||||
|
||||
# In order for the cases defined by `TEST_CASE` in "performance" 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")
|
Ładowanie…
Reference in New Issue