feat(test_build_system): add buildv2 test for linux target build

Add a simple test to verify that the buildv2_test_app can be built for
the Linux target.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2026-01-22 10:56:26 +01:00
parent 6e5d6b75ae
commit cc294eee2b
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import logging
import sys
import pytest
from test_build_system_helpers import IdfPyFunc
@pytest.mark.skipif(sys.platform == 'win32', reason='Unix test')
@pytest.mark.usefixtures('test_app_copy')
def test_linux_target_build(idf_py: IdfPyFunc) -> None:
logging.info('Can build for Linux target')
idf_py('--preview', '-DIDF_TARGET=linux', 'build')