From 364f98b67e83c3a9262452881ee9c406b3d2130f Mon Sep 17 00:00:00 2001 From: Renz Christian Bagaporo Date: Tue, 13 Nov 2018 22:27:53 +0800 Subject: [PATCH] cmake: fix for parsing unit test config --- tools/unit-test-app/idf_ext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unit-test-app/idf_ext.py b/tools/unit-test-app/idf_ext.py index 9bc9ae0073..98315d6564 100644 --- a/tools/unit-test-app/idf_ext.py +++ b/tools/unit-test-app/idf_ext.py @@ -82,9 +82,9 @@ def add_action_extensions(base_functions, base_actions): config_name = re.match(r"ut-apply-config-(.*)", ut_apply_config_name).group(1) def set_config_build_variables(prop, defval = None): - property_value = re.match(r"^%s=(.*)" % prop, config_file_content) + property_value = re.findall(r"^%s=(.+)" % prop, config_file_content, re.MULTILINE) if (property_value): - property_value = property_value.group(1) + property_value = property_value[0] else: property_value = defval -- 2.40.0