mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-29 11:55:00 +00:00
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:
@@ -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')
|
||||
Reference in New Issue
Block a user