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

limnit amount of cases in BASIC level, for P2P

parent 0dc9c9e3
No related branches found
No related tags found
No related merge requests found
......@@ -61,10 +61,12 @@ class InvalidCommErrorP2P(ErrorGenerator):
continue
# TODO add probe call
i = 0
for comm_to_use in self.comms_to_check:
if comm_to_use in self.missmatching_comms + self.intercomms and recv_func == "mpi_irecv" and generate_level < FULL_TEST_LEVEL:
# combination repeated
continue
i += 1
tm = get_invalid_param_p2p_case("comm", comm_to_use, check_recv, send_func, recv_func)
error_string = "ParamMatching"
......@@ -97,7 +99,7 @@ class InvalidCommErrorP2P(ErrorGenerator):
if comm_to_use in self.missmatching_comms + self.intercomms and comm_to_use != "MPI_COMM_SELF":
tm.register_instruction(MPICallFactory().mpi_comm_free("&" + comm_var_name))
yield tm
# end for comm to check
if generate_level <= BASIC_TEST_LEVEL:
if generate_level <= BASIC_TEST_LEVEL and i > 3:
return
# end for comm to check
# end for send_func in funcs_to_check
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment