git.samba.org
/
resolv_wrapper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: Add a simple DNS server
[resolv_wrapper.git]
/
tests
/
CMakeLists.txt
diff --git
a/tests/CMakeLists.txt
b/tests/CMakeLists.txt
index 323a768048e8c1e9146925b4c2bb7d1685a0e1aa..adc348f42df60032ac5567e3e5ea55dbfbcbb13a 100644
(file)
--- a/
tests/CMakeLists.txt
+++ b/
tests/CMakeLists.txt
@@
-7,6
+7,10
@@
include_directories(
${CMOCKA_INCLUDE_DIR}
)
+# A simple DNS server for testing
+add_executable(dns_srv dns_srv.c)
+target_link_libraries(dns_srv ${RWRAP_REQUIRED_LIBRARIES})
+
set(TESTSUITE_LIBRARIES ${RWRAP_REQUIRED_LIBRARIES} ${CMOCKA_LIBRARY})
set(RWRAP_TESTS