From eda42035d2ab18b78f645936dbc236876e0d353c Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Thu, 3 Dec 2020 17:12:54 +0800 Subject: [PATCH] scan test: bugfix: now can build multi target for one app --- tools/ci/python_packages/ttfw_idf/CIScanTests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ci/python_packages/ttfw_idf/CIScanTests.py b/tools/ci/python_packages/ttfw_idf/CIScanTests.py index 462249d157..20273378ee 100644 --- a/tools/ci/python_packages/ttfw_idf/CIScanTests.py +++ b/tools/ci/python_packages/ttfw_idf/CIScanTests.py @@ -4,6 +4,7 @@ import json import logging import os from collections import defaultdict +from copy import deepcopy from find_apps import find_apps from find_build_apps import BUILD_SYSTEMS, BUILD_SYSTEM_CMAKE @@ -124,7 +125,7 @@ def main(): scan_info_dict = defaultdict(dict) # store the test cases dir, exclude these folders when scan for standalone apps default_exclude = args.exclude if args.exclude else [] - exclude_apps = default_exclude + exclude_apps = deepcopy(default_exclude) build_system = args.build_system.lower() build_system_class = BUILD_SYSTEMS[build_system]