mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(esp_timer): move test app into esp_timer_tests subdirectory
Make room for additional test apps under test_apps/ by moving the existing esp_timer tests into their own esp_timer_tests/ subdirectory. Update build-test-rules and include paths accordingly.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||
|
||||
components/esp_timer/test_apps:
|
||||
components/esp_timer/test_apps/esp_timer_tests:
|
||||
enable:
|
||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
|
||||
reason: run existing default build targets and include Linux
|
||||
@@ -14,3 +14,10 @@ components/esp_timer/test_apps:
|
||||
reason: The test requires the XTAL32K clock to measure the esp_timer timing accuracy
|
||||
- if: CONFIG_NAME == "dfs" and SOC_PM_SUPPORTED != 1
|
||||
reason: The test requires the PM functionality
|
||||
|
||||
components/esp_timer/test_apps/size_metrics:
|
||||
enable:
|
||||
- if: IDF_TARGET in ["esp32", "esp32c6"]
|
||||
reason: Size metrics tracked on one RISC-V (esp32c6) and one Xtensa (esp32) target
|
||||
depends_components:
|
||||
- esp_timer
|
||||
|
||||
+1
-1
@@ -27,6 +27,6 @@ else()
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
PRIV_INCLUDE_DIRS "../../private_include" "../include"
|
||||
PRIV_INCLUDE_DIRS "../../../private_include" "../../include"
|
||||
PRIV_REQUIRES "${priv_requires}"
|
||||
WHOLE_ARCHIVE)
|
||||
Reference in New Issue
Block a user