tests: Set socket_wrapper to be required for testing
authorAndreas Schneider <asn@samba.org>
Fri, 15 Feb 2019 13:41:11 +0000 (14:41 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Sun, 20 Oct 2019 12:59:54 +0000 (14:59 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/CMakeLists.txt

index d7190237daacf64c9eee7e1a923c5ab39e40e9ca..ad3fa8ce0810930742c3d5cdc9a9d7d9443217a5 100644 (file)
@@ -35,7 +35,7 @@ set(RWRAP_TESTS
 set(PRELOAD_LIBS ${RESOLV_WRAPPER_LOCATION})
 
 # Some tests require socket_wrapper as well.
-find_package(socket_wrapper)
+find_package(socket_wrapper REQUIRED)
 
 # On Solaris the socket functions are compiled into libresolv.so so we can't preload
 # socket_wrapper. Only faking will work!