From 244fa85e98fa6f325025f49aca6e1fbb1e440582 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 13 Nov 2019 16:48:03 -0500 Subject: Decouple main program and add initial tests --- test/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/CMakeLists.txt (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..6b79d98 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,12 @@ +project(tests) + +include_directories("${CMAKE_SOURCE_DIR}") +include_directories("${CMAKE_BINARY_DIR}") +add_executable(test_reloc_match test_reloc_match.c) +add_executable(test_reloc_read test_reloc_read.c) + +target_link_libraries(test_reloc_match relocate) +target_link_libraries(test_reloc_read relocate) + +add_test(test_reloc_match test_reloc_match) +add_test(test_reloc_read test_reloc_read) -- cgit