Lines Matching refs:tc

2893         for _, tc in self.testcases.items():
2894 for case in tc.cases:
2941 tc = TestCase(root, workdir, name)
2945 tc.source_dir = tc_path
2946 tc.yamlfile = tc_path
2948 tc.type = tc_dict["type"]
2949 tc.tags = tc_dict["tags"]
2950 tc.extra_args = tc_dict["extra_args"]
2951 tc.extra_configs = tc_dict["extra_configs"]
2952 tc.arch_allow = tc_dict["arch_allow"]
2953 tc.arch_exclude = tc_dict["arch_exclude"]
2954 tc.skip = tc_dict["skip"]
2955 tc.platform_exclude = tc_dict["platform_exclude"]
2956 tc.platform_allow = tc_dict["platform_allow"]
2957 tc.toolchain_exclude = tc_dict["toolchain_exclude"]
2958 tc.toolchain_allow = tc_dict["toolchain_allow"]
2959 tc.tc_filter = tc_dict["filter"]
2960 tc.timeout = tc_dict["timeout"]
2961 tc.harness = tc_dict["harness"]
2962 tc.harness_config = tc_dict["harness_config"]
2963 if tc.harness == 'console' and not tc.harness_config:
2965 tc.build_only = tc_dict["build_only"]
2966 tc.build_on_all = tc_dict["build_on_all"]
2967 tc.slow = tc_dict["slow"]
2968 tc.min_ram = tc_dict["min_ram"]
2969 tc.depends_on = tc_dict["depends_on"]
2970 tc.min_flash = tc_dict["min_flash"]
2971 tc.extra_sections = tc_dict["extra_sections"]
2972 tc.integration_platforms = tc_dict["integration_platforms"]
2974 tc.parse_subcases(tc_path)
2977 if tc.name and tc.name in testcase_filter:
2978 self.testcases[tc.name] = tc
2980 self.testcases[tc.name] = tc
3108 for tc_name, tc in self.testcases.items():
3110 if tc.build_on_all and not platform_filter:
3112 elif tc.integration_platforms and self.integration:
3113 platform_scope = list(filter(lambda item: item.name in tc.integration_platforms, \
3118 integration = self.integration and tc.integration_platforms
3122 if tc.platform_allow and not platform_filter and not integration:
3124 b = set(filter(lambda item: item.name in tc.platform_allow, self.platforms))
3127 platform_scope = list(filter(lambda item: item.name in tc.platform_allow, \
3133 instance = TestInstance(tc, plat, self.outdir)
3145 for t in tc.cases:
3151 if tc.harness_config.get('fixture') in h.fixtures:
3157 if (plat.arch == "unit") != (tc.type == "unit"):
3164 … if self.integration and tc.integration_platforms and plat.name not in tc.integration_platforms:
3167 if tc.skip:
3170 if tag_filter and not tc.tags.intersection(tag_filter):
3173 if exclude_tag and tc.tags.intersection(exclude_tag):
3184 if tc.arch_allow and plat.arch not in tc.arch_allow:
3187 if tc.arch_exclude and plat.arch in tc.arch_exclude:
3190 if tc.platform_exclude and plat.name in tc.platform_exclude:
3193 if tc.toolchain_exclude and toolchain in tc.toolchain_exclude:
3199 if tc.platform_allow and plat.name not in tc.platform_allow:
3202 if tc.toolchain_allow and toolchain not in tc.toolchain_allow:
3211 and tc.type != 'unit':
3214 if plat.ram < tc.min_ram:
3217 if tc.depends_on:
3218 dep_intersection = tc.depends_on.intersection(set(plat.supported))
3219 if dep_intersection != set(tc.depends_on):
3222 if plat.flash < tc.min_flash:
3225 if set(plat.ignore_tags) & tc.tags:
3228 if plat.only_tags and not set(plat.only_tags) & tc.tags:
3251 if default_platforms and not tc.build_on_all and not integration:
3252 if tc.platform_allow:
3254 b = set(tc.platform_allow)
3257 aa = list(filter(lambda tc: tc.platform.name in c, instance_list))
3262 instances = list(filter(lambda tc: tc.platform.default, instance_list))
3265 …instances = list(filter(lambda item: item.platform.name in tc.integration_platforms, instance_lis…
3547 for tc in eleTestsuite.findall(f'testcase/[@name="{k}"]'):
3548 eleTestsuite.remove(tc)
3591 …for tc in eleTestsuite.findall(f'testcase/[@classname="{classname}"][@name="{instance.testcase.nam…
3592 eleTestsuite.remove(tc)
3722 for _, tc in self.testcases.items():
3723 for case in tc.cases:
3725 results.append(tc)