Commit 671b4ca8 authored by jan.koester's avatar jan.koester
Browse files

testing corrected

parent f5387a90
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@ list(APPEND secureidsrc
    secureid.c
)


add_library(secureid STATIC ${secureidsrc})

install( TARGETS
+4 −7
Original line number Diff line number Diff line
add_executable(parse parse.c)
target_link_libraries(parse secureid)

add_test(NAME parse COMMAND parse "${CMAKE_SOURCE_DIR}/test/sid.txt")
set_tests_properties(parse PROPERTIES WILL_FAIL TRUE)
add_test(NAME parse COMMAND $<TARGET_FILE:parse> "${CMAKE_SOURCE_DIR}/test/sid.txt")

add_executable(copy copy)
add_executable(copy copy.c)
target_link_libraries(copy secureid)

add_test(NAME copy COMMAND copy "${CMAKE_SOURCE_DIR}/test/sid.txt")
set_tests_properties(copy PROPERTIES WILL_FAIL TRUE)
add_test(NAME copy COMMAND $<TARGET_FILE:copy> "${CMAKE_SOURCE_DIR}/test/sid.txt")

add_executable(rid rid.c)
target_link_libraries(rid secureid)

add_test(NAME rid COMMAND rid "${CMAKE_SOURCE_DIR}/test/sid.txt")
set_tests_properties(rid PROPERTIES WILL_FAIL TRUE)
add_test(NAME rid COMMAND $<TARGET_FILE:rid> "${CMAKE_SOURCE_DIR}/test/sid.txt")