Skip to content
Snippets Groups Projects
Commit 156275b0 authored by Jammer, Tim's avatar Jammer, Tim
Browse files

remove duplicate testcases

parent 1cffe068
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,12 @@ class InvalidRankErrorColl(ErrorGenerator): ...@@ -38,9 +38,12 @@ class InvalidRankErrorColl(ErrorGenerator):
call.set_has_error() call.set_has_error()
yield tm yield tm
if not generate_level <= BASIC_TEST_LEVEL:
break
# basic test level only tests each error once, no need to loop all functions
for func1 in self.functions_to_use: for i, func1 in enumerate(self.functions_to_use):
for func2 in self.functions_to_use: # this generates func1-func2 and func2-func1 -> we need to remove similar cases for func2 in self.functions_to_use[i:]:
tm = get_two_collective_template(func1, func2) tm = get_two_collective_template(func1, func2)
tm.set_description("CallOrdering-unmatched-" + func1 + "-" + func2, tm.set_description("CallOrdering-unmatched-" + func1 + "-" + func2,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment