diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-03-09 21:07:24 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-03-09 21:07:24 +0100 |
commit | cfaf53672393c95c47602520cb2b6afd04230215 (patch) | |
tree | 1bf26aefc9a273a819e633e9b918a1b31fb0a063 /resolv/Makefile | |
parent | 63c317fe318b7fcf0b09a7891bbf5a1c1016c374 (diff) | |
download | glibc-cfaf53672393c95c47602520cb2b6afd04230215.tar.gz |
resolv: tst-p_secstodate can be a regular test
Now that compat_symbol_reference works for non-internal tests, too.
Also do not build and run the tests on architectures which lack the
__p_secstodate compatibility symbol.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'resolv/Makefile')
-rw-r--r-- | resolv/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resolv/Makefile b/resolv/Makefile index 1047bb6ae5..fb19c93026 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -94,7 +94,9 @@ endif # $(build-shared) tests-internal += tst-inet_pton # This test accesses the __p_secstodate compat symbol. -tests-internal += tst-p_secstodate +ifeq ($(have-GLIBC_2.26)$(build-shared),yesyes) +tests += tst-p_secstodate +endif # This test sends millions of packets and is rather slow. xtests += tst-resolv-qtypes |