Skip to content

Commit 27f4dfc

Browse files
authored
Update CMakeLists.txt
1 parent 8d12b64 commit 27f4dfc

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎tests/integrate/CMakeLists.txt‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
find_program(BASH bash)
22
find_package(Python3 REQUIRED)
3+
4+
add_executable(sum_cube.exe ${ABACUS_TEST_DIR}/integrate/tools/sum_cube.cpp)
5+
install(TARGETS sum_cube.exe DESTINATION ${ABACUS_TEST_DIR}/integrate/tools/)
6+
if(ENABLE_COVERAGE)
7+
add_coverage(sum_cube.exe)
8+
endif()
9+
310
if(ENABLE_ASAN)
411
add_test(
512
NAME integrated_test_with_asan
@@ -13,10 +20,4 @@ else()
1320
COMMAND ${BASH} Autotest.sh -a ${ABACUS_BIN_PATH} -n 4
1421
WORKING_DIRECTORY ${ABACUS_TEST_DIR}/integrate
1522
)
16-
add_executable(sum_cube.exe ${ABACUS_TEST_DIR}/integrate/tools/sum_cube.cpp)
17-
install(TARGETS sum_cube.exe DESTINATION ${ABACUS_TEST_DIR}/integrate/tools/)
18-
19-
if(ENABLE_COVERAGE)
20-
add_coverage(sum_cube.exe)
21-
endif()
2223
endif()

0 commit comments

Comments
 (0)