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: 610062 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qlRyD2r1Wz9t5b for ; Thu, 14 Apr 2016 01:08:20 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=Gm3Nt/Fg; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=TpcWnwtCCzlcXGQhr5KTITZmpl/ws BxDh7Snzw2YYqwhEIEbShMZLtgozgM9AarixCLaLWSypY3zgcaLvoB+Yz3h6kDf6 Xcfpd2U+luehKQtIlJvXM32SeOSE8dnaN8ScdhhILj5BoXh4USPbOP8W9C7H3SSx 3tDySUys41AsuY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=JscOVe4/PAQ31puaiRkLvapS/Vs=; b=Gm3 Nt/FgTOvSdZew1ikY5b1UqG2DUwIb5nDLDT98oOuWOAWns8fqEMKxDCuj5nO1sAX r3gE4iYmn4cD/JcS6160TDeQd3xZTDKYDtBr0m8EgQfkCMmFcbj9x7JQfVGLVSvc 9sbarXT2rvcCmfMAC7+jU/tjiH1pFd651DCSEZZM= 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) $(