Skip to content

Commit

Permalink
Rename clover force test code for consistency with other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyscientist committed Dec 9, 2023
1 parent ad814bb commit 6f8349a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,12 @@ target_link_libraries(gauge_path_test ${TEST_LIBS})
quda_checkbuildtest(gauge_path_test QUDA_BUILD_ALL_TESTS)
install(TARGETS gauge_path_test ${QUDA_EXCLUDE_FROM_INSTALL} DESTINATION ${CMAKE_INSTALL_BINDIR})

add_executable(TMCloverForce_test TMCloverForce_test.cpp)
target_link_libraries(TMCloverForce_test ${TEST_LIBS})
quda_checkbuildtest(TMCloverForce_test QUDA_BUILD_ALL_TESTS)
install(TARGETS TMCloverForce_test ${QUDA_EXCLUDE_FROM_INSTALL} DESTINATION ${CMAKE_INSTALL_BINDIR})
if(QUDA_DIRAC_CLOVER OR QUDA_DIRAC_TWISTED_CLOVER)
add_executable(clover_force_test clover_force_test.cpp)
target_link_libraries(clover_force_test ${TEST_LIBS})
quda_checkbuildtest(clover_force_test QUDA_BUILD_ALL_TESTS)
install(TARGETS clover_force_test ${QUDA_EXCLUDE_FROM_INSTALL} DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()

add_executable(gauge_alg_test gauge_alg_test.cpp)
target_link_libraries(gauge_alg_test ${TEST_LIBS})
Expand Down Expand Up @@ -1305,7 +1307,7 @@ foreach(prec IN LISTS TEST_PRECS)

if(QUDA_DIRAC_CLOVER)
add_test(NAME clover_force_test_${prec}
COMMAND ${QUDA_CTEST_LAUNCH} $<TARGET_FILE:TMCloverForce_test> ${MPIEXEC_POSTFLAGS}
COMMAND ${QUDA_CTEST_LAUNCH} $<TARGET_FILE:clover_force_test> ${MPIEXEC_POSTFLAGS}
--dim 2 4 6 8 --prec ${prec}
--dslash-type clover --compute-clover true
--matpc even-even-asym
Expand All @@ -1315,7 +1317,7 @@ foreach(prec IN LISTS TEST_PRECS)

if(QUDA_DIRAC_TWISTED_CLOVER)
add_test(NAME tmc_clover_force_test_${prec}
COMMAND ${QUDA_CTEST_LAUNCH} $<TARGET_FILE:TMCloverForce_test> ${MPIEXEC_POSTFLAGS}
COMMAND ${QUDA_CTEST_LAUNCH} $<TARGET_FILE:clover_force_test> ${MPIEXEC_POSTFLAGS}
--dim 2 4 6 8 --prec ${prec}
--dslash-type twisted-clover --compute-clover true
--matpc even-even-asym
Expand Down
File renamed without changes.

0 comments on commit 6f8349a

Please sign in to comment.