public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Move tst-resolv-res_init-multi to xtests
@ 2021-06-22  4:44 Siddhesh Poyarekar
  2021-06-28  4:18 ` [PING][PATCH] " Siddhesh Poyarekar
  2021-06-28  4:38 ` [PATCH] " Florian Weimer
  0 siblings, 2 replies; 4+ messages in thread
From: Siddhesh Poyarekar @ 2021-06-22  4:44 UTC (permalink / raw)
  To: libc-alpha

Tests that need network access may cause false failures due to network
glitches because of which they are typically added as xtests.  See for
example posix/tst-getaddrinfo{4,5}.c.  Move tst-resolv-res_init-multi
also to xtests so that it is not executed in a regular test run.
---
 resolv/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/resolv/Makefile b/resolv/Makefile
index 3fbc320ee1..3e17fda571 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -57,7 +57,6 @@ tests += \
   tst-resolv-edns \
   tst-resolv-network \
   tst-resolv-nondecimal \
-  tst-resolv-res_init-multi \
   tst-resolv-search \
   tst-resolv-trailing \
 
@@ -103,6 +102,9 @@ xtests += tst-resolv-qtypes
 
 # This test has dropped packet tests and runs for a long time.
 xtests += tst-resolv-rotate
+
+# This test needs a functioning network to succeed.
+xtests += tst-resolv-res_init-multi
 endif
 extra-libs-others = $(extra-libs)
 libresolv-routines := res_comp res_debug \
-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-28  4:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22  4:44 [PATCH] Move tst-resolv-res_init-multi to xtests Siddhesh Poyarekar
2021-06-28  4:18 ` [PING][PATCH] " Siddhesh Poyarekar
2021-06-28  4:38 ` [PATCH] " Florian Weimer
2021-06-28  4:45   ` Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).