global: enable build uinit test for esp32-s3
This commit is contained in:
@@ -8,7 +8,7 @@ from collections import defaultdict
|
||||
from find_apps import find_apps
|
||||
from find_build_apps import BUILD_SYSTEMS, BUILD_SYSTEM_CMAKE
|
||||
from ttfw_idf.IDFAssignTest import ExampleAssignTest, TestAppsAssignTest
|
||||
from idf_py_actions.constants import SUPPORTED_TARGETS
|
||||
from idf_py_actions.constants import SUPPORTED_TARGETS, PREVIEW_TARGETS
|
||||
|
||||
TEST_LABELS = {
|
||||
'example_test': 'BOT_LABEL_EXAMPLE_TEST',
|
||||
@@ -90,6 +90,8 @@ def main():
|
||||
if e.errno != errno.EEXIST:
|
||||
raise e
|
||||
|
||||
SUPPORTED_TARGETS.extend(PREVIEW_TARGETS)
|
||||
|
||||
if (not build_standalone_apps) and (not build_test_case_apps):
|
||||
for target in SUPPORTED_TARGETS:
|
||||
output_json([], target, args.build_system, args.output_path)
|
||||
|
||||
@@ -17,7 +17,7 @@ except ImportError:
|
||||
import gitlab_api
|
||||
from tiny_test_fw.Utility import CIAssignTest
|
||||
|
||||
from idf_py_actions.constants import SUPPORTED_TARGETS
|
||||
from idf_py_actions.constants import SUPPORTED_TARGETS, PREVIEW_TARGETS
|
||||
|
||||
IDF_PATH_FROM_ENV = os.getenv('IDF_PATH')
|
||||
|
||||
@@ -311,6 +311,8 @@ if __name__ == '__main__':
|
||||
parser.add_argument('--test-case-file-pattern', help='file name pattern used to find Python test case files')
|
||||
args = parser.parse_args()
|
||||
|
||||
SUPPORTED_TARGETS.extend(PREVIEW_TARGETS)
|
||||
|
||||
test_case_paths = [os.path.join(IDF_PATH_FROM_ENV, path) if not os.path.isabs(path) else path for path in args.test_case_paths]
|
||||
args_list = [test_case_paths, args.config]
|
||||
if args.case_group == 'example_test':
|
||||
|
||||
Reference in New Issue
Block a user