mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
ci(tools): Move misspelled KConfig test to dedicated kconfig_test_app
Separate the misspelled KConfig.projbuild test case into its own test app so it doesn't interfere with the general-purpose build_test_app. The test now uses a pytest marker to select kconfig_test_app as the source.
This commit is contained in:
@@ -258,6 +258,7 @@ def test_build_cmake_executable_suffix(idf_py: IdfPyFunc, test_app_copy: Path) -
|
||||
assert 'Project build complete' in ret.stdout, 'Build with CMAKE_EXECUTABLE_SUFFIX set failed'
|
||||
|
||||
|
||||
@pytest.mark.test_app_copy('tools/test_build_system/kconfig_test_app')
|
||||
def test_build_with_misspelled_kconfig(idf_py: IdfPyFunc, test_app_copy: Path) -> None:
|
||||
logging.info('idf.py can build with misspelled Kconfig file')
|
||||
ret = idf_py('build')
|
||||
|
||||
Reference in New Issue
Block a user