From cb3c27e87b914bde5ec00a02363536c76e08b850 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 5 Jul 2017 17:39:33 +0200 Subject: support: Add resolver testing mode which does not patch _res --- resolv/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'resolv/Makefile') diff --git a/resolv/Makefile b/resolv/Makefile index 6942e85..ec7e4fd 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) -- cgit v1.1