about summary refs log tree commit diff
path: root/resolv/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-07-05 17:39:33 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-07-05 19:04:40 +0200
commitcb3c27e87b914bde5ec00a02363536c76e08b850 (patch)
tree8a20c3b98ba3e0fb7ecac4d79d881f66971c905b /resolv/Makefile
parentd4165eedf5b85bfda3ea6b251f69838857e44925 (diff)
downloadglibc-cb3c27e87b914bde5ec00a02363536c76e08b850.tar.gz
glibc-cb3c27e87b914bde5ec00a02363536c76e08b850.tar.xz
glibc-cb3c27e87b914bde5ec00a02363536c76e08b850.zip
support: Add resolver testing mode which does not patch _res
Diffstat (limited to 'resolv/Makefile')
-rw-r--r--resolv/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index 6942e8598f..ec7e4fd146 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -65,7 +65,9 @@ tests-internal += \
   tst-resolv-res_init-thread \
 
 # Needs resolv_context.
-tests-internal += tst-resolv-res_ninit
+tests-internal += \
+  tst-resolv-res_ninit \
+  tst-resolv-threads \
 
 endif
 
@@ -168,6 +170,8 @@ $(objpfx)tst-resolv-res_init-thread: $(libdl) $(objpfx)libresolv.so \
 $(objpfx)tst-resolv-qtypes: $(objpfx)libresolv.so $(shared-thread-library)
 $(objpfx)tst-resolv-rotate: $(objpfx)libresolv.so $(shared-thread-library)
 $(objpfx)tst-resolv-search: $(objpfx)libresolv.so $(shared-thread-library)
+$(objpfx)tst-resolv-threads: \
+  $(libdl) $(objpfx)libresolv.so $(shared-thread-library)
 $(objpfx)tst-resolv-canonname: \
   $(libdl) $(objpfx)libresolv.so $(shared-thread-library)