Bläddra i källkod

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.
He Yin Ling 8 år sedan
förälder
incheckning
6a759e7cef
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      tools/unit-test-app/tools/UnitTestParser.py

+ 1 - 1
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")