Skip to content

Commit

Permalink
Enable full parallel execution of CTest testsuite [skip appveyor]
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Nov 24, 2024
1 parent 12b0e74 commit cc974e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/convert_at_to_ctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ def convert_autotest_to_ctest(autotest_file, cmake_output_file):
depends_str = f'{test_name}_{counter - 1}'
cmakef.write(f' set_tests_properties({test_name}_{counter} PROPERTIES DEPENDS {depends_str})\n')

if 'delete' in test_keywords:
cmakef.write(f' set_tests_properties({test_name}_{counter} PROPERTIES RUN_SERIAL ON)\n')

counter += 1

elif check_copy_match and check_diff_match:
Expand Down Expand Up @@ -145,9 +142,6 @@ def convert_autotest_to_ctest(autotest_file, cmake_output_file):
depends_str = f'{test_name}_{counter - 1}'
cmakef.write(f' set_tests_properties({test_name}_{counter} PROPERTIES DEPENDS {depends_str})\n')

if 'delete' in test_keywords:
cmakef.write(f' set_tests_properties({test_name}_{counter} PROPERTIES RUN_SERIAL ON)\n')

expected_name = check_copy_match.group(1).replace('$srcdir/', '${PROJECT_SOURCE_DIR}/test/')
command = f'${{CMAKE_COMMAND}} -E compare_files --ignore-eol {expected_name} {output_name}'
cmakef.write(f' add_test(NAME {test_name}_{counter + 1}\n')
Expand Down

0 comments on commit cc974e3

Please sign in to comment.