aboutsummaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-11-13 16:48:03 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-11-13 16:48:03 -0500
commit244fa85e98fa6f325025f49aca6e1fbb1e440582 (patch)
tree502ab3bbfb49749fad1cfaa5f2e20268d3f5c5e4 /test/CMakeLists.txt
parente801b594a18dbaf9283ad860c86e4a07b2b1e866 (diff)
downloadreloc-244fa85e98fa6f325025f49aca6e1fbb1e440582.tar.gz
Decouple main program and add initial tests
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
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)