Closed wohlbier closed 3 years ago
I had to remove -lz from the bubbleSort_swap test command for it to run.
-lz
bubbleSort_swap
[jgwohlbier@etc-gpu-09 traceatlas]$ git diff Tests/bubbleSort/CMakeLists.txt diff --git a/Tests/bubbleSort/CMakeLists.txt b/Tests/bubbleSort/CMakeLists.txt index de96c7b..58b2f23 100644 --- a/Tests/bubbleSort/CMakeLists.txt +++ b/Tests/bubbleSort/CMakeLists.txt @@ -19,8 +19,8 @@ set_tests_properties(bubbleSort_tik PROPERTIES DEPENDS bubbleSort_cartographer) add_test(NAME bubbleSort_ts COMMAND tikSwap -g -t ${CMAKE_CURRENT_BINARY_DIR}/tik.bc -b $<TARGET_FILE:bubbleSort> -o ${CMAKE_CURRENT_BINARY_DIR}/tikSwap.bc) set_tests_properties(bubbleSort_ts PROPERTIES DEPENDS bubbleSort_tik) -add_test(NAME bubbleSort_swap COMMAND ${CMAKE_CXX_COMPILER} -lz ${CMAKE_CURRENT_BINARY_DIR}/tik.bc ${CMAKE_CURRENT_BINARY_DIR}/tikSwap.bc ${CMAKE_BINARY_DIR}/lib/libAtlasBackend.a -o ${CMAKE_CURRENT_BINARY_DIR}/swap.exec) +add_test(NAME bubbleSort_swap COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CURRENT_BINARY_DIR}/tik.bc ${CMAKE_CURRENT_BINARY_DIR}/tikSwap.bc ${CMAKE_BINARY_DIR}/lib/libAtlasBackend.a -o ${CMAKE_CURRENT_BINARY_DIR}/swap.exec) set_tests_properties(bubbleSort_swap PROPERTIES DEPENDS bubbleSort_ts) add_test(NAME bubbleSortSwap_run COMMAND ${CMAKE_CURRENT_BINARY_DIR}/swap.exec) -set_tests_properties(bubbleSortSwap_run PROPERTIES DEPENDS bubbleSort_swap) \ No newline at end of file +set_tests_properties(bubbleSortSwap_run PROPERTIES DEPENDS bubbleSort_swap)
Thank you for the issue, it has been corrected
I had to remove
-lz
from thebubbleSort_swap
test command for it to run.