From 6a759e7cef5554848ea57e28ba6004d6627ef7fc Mon Sep 17 00:00:00 2001 From: He Yin Ling Date: Mon, 10 Apr 2017 15:08:15 +0800 Subject: [PATCH] CI: fix bug in generating UT CI runner config: the first case ID in filter is incorrect. Should put test case ID but not test case itself to the filter. --- tools/unit-test-app/tools/UnitTestParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unit-test-app/tools/UnitTestParser.py b/tools/unit-test-app/tools/UnitTestParser.py index 0f151e9d9..6569d44cb 100644 --- a/tools/unit-test-app/tools/UnitTestParser.py +++ b/tools/unit-test-app/tools/UnitTestParser.py @@ -76,7 +76,7 @@ class Parser(object): if tc["test environment"] in self.test_env_tags: self.test_env_tags[tc["test environment"]].append(tc["ID"]) else: - self.test_env_tags.update({tc["test environment"]: [tc]}) + self.test_env_tags.update({tc["test environment"]: [tc["ID"]]}) test_cases.append(tc) os.remove("section_table.tmp")