From patchwork Wed Apr 13 15:07:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 11731 Received: (qmail 77154 invoked by alias); 13 Apr 2016 15:08:11 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 77049 invoked by uid 89); 13 Apr 2016 15:08:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=887, 136, 6, 88, 7, 1366 X-HELO: mx2.suse.de From: Andreas Schwab To: libc-alpha@sourceware.org Subject: [PATCH] Register extra test objects X-Yow: We just joined the civil hair patrol! Date: Wed, 13 Apr 2016 17:07:56 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 This makes sure that the extra test objects are compiled with the correct MODULE_NAME and dependencies are tracked. Committed as obvious. Andreas. * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o. (test-extras): Add tst-tlsalign-vars. * math/Makefile: Wrap long lines. (libm-vec-test-wrappers): Define. (test-extras): Add $(libm-vec-test-wrappers). (extra-test-objs): Add $(libm-vec-test-wrappers) objects. * nss/Makefile (extra-test-objs): Add nss_test1.os. * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects. * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie tst-quadmod2pie tst-audit4-aux tst-audit10-aux. (extra-test-objs): Add corresponding objects. diff --git a/elf/Makefile b/elf/Makefile index bb23d93..210dde9 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -170,8 +170,9 @@ tlsmod17a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 tlsmod18a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 tlsmod17a-modules = $(addprefix tst-tlsmod17a, $(tlsmod17a-suffixes)) tlsmod18a-modules = $(addprefix tst-tlsmod18a, $(tlsmod17a-suffixes)) -extra-test-objs += $(tlsmod17a-modules:=.os) $(tlsmod18a-modules:=.os) -test-extras += tst-tlsmod17a tst-tlsmod18a +extra-test-objs += $(tlsmod17a-modules:=.os) $(tlsmod18a-modules:=.os) \ + tst-tlsalign-vars.o +test-extras += tst-tlsmod17a tst-tlsmod18a tst-tlsalign-vars modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \ testobj1_1 failobj constload2 constload3 unloadmod \ dep1 dep2 dep3 dep4 vismod1 vismod2 vismod3 \ diff --git a/math/Makefile b/math/Makefile index d440833..57c3ec1 100644 --- a/math/Makefile +++ b/math/Makefile @@ -136,6 +136,9 @@ libm-tests = test-float test-double $(test-longdouble-$(long-double-fcts)) \ libm-tests.o = $(addsuffix .o,$(libm-tests)) tests += $(libm-tests) +libm-vec-test-wrappers = $(addsuffix -wrappers, $(libm-vec-tests)) +test-extras += $(libm-vec-test-wrappers) +extra-test-objs += $(addsuffix .o, $(libm-vec-test-wrappers)) libm-tests-generated = libm-test-ulps.h libm-have-vector-test.h libm-test.c generated += $(libm-tests-generated) libm-test.stmp @@ -300,10 +303,11 @@ $(objpfx)libieee.a: $(objpfx)ieee-math.o $(patsubst %/,cd % &&,$(objpfx)) \ $(LN_S) $(