File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ def run_script(_script_path):
3838if __name__ == "__main__" :
3939 args_dict = init_cmd_args ()
4040 tests_list = run_script (Path (get_project_path ()) / "scripts/run_tests.py" )
41- tests_number = len (tests_list )
41+ tests_number = int (( len (tests_list ) / 3 ) * 2 )
4242
43- pattern = r".*all\.|.*_mpi\.|.*_omp\.|.*_seq\.|.*_stl\.|.*_tbb\. "
43+ pattern = r".*GetParam().* "
4444 test_matches = [test_name for test_name in tests_list if re .match (pattern , test_name )]
45- required_tests_number = ( args_dict ["required_tests_number" ] + 1 ) * len (test_matches )
45+ required_tests_number = int (( args_dict ["required_tests_number" ] + 1 ) * len (test_matches ) / 3 )
4646
4747 if tests_number != required_tests_number :
4848 raise Exception (f"Count of all tests { tests_number } != count of required tests { required_tests_number } ." )
You can’t perform that action at this time.
0 commit comments