This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Dynamic growable arrays for internal use
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 7 Jun 2017 11:54:40 +0200
- Subject: Re: [PATCH] Dynamic growable arrays for internal use
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 25EB23B74B
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 25EB23B74B
- References: <edae68d6-998b-58a6-a8df-82703341da23@redhat.com> <ce479249-6362-6a58-ec9b-d6227ef99db9@redhat.com> <eb0d4e4f-1294-5b32-e9e8-004edebca698@redhat.com> <e8ac9c11-212d-dab1-4ada-d5feeae06531@redhat.com> <37f01ed4-1443-8585-42cb-1b7759416ee7@linux.vnet.ibm.com> <CAMe9rOopA0YfCt-aRBrZNS4t38XmuLzr0eEe8UM2Xu3Rv_r2=w@mail.gmail.com>
On 06/06/2017 05:46 PM, H.J. Lu wrote:
> I also see:
>
> ../Rules:198: target
> '/export/build/gnu/glibc-test/build-x86_64-linux/malloc/tst-dynarray'
> given more than once in the same rule
> ../Rules:198: target
> '/export/build/gnu/glibc-test/build-x86_64-linux/malloc/tst-dynarray-fail'
> given more than once in the same rule
The attached patch should fix this. The tests still run, and the
warning should be gone. mtrace is a bit special, so I got this wrong at
first.
Florian
malloc: Remove tst-dynarray, tst-dynarray-fail from test-srcs
They are already covered through the tests variable.
2017-06-07 Florian Weimer <fweimer@redhat.com>
* malloc/Makefile (test-srcs): Remove tst-dynarray,
tst-dynarray-fail.
diff --git a/malloc/Makefile b/malloc/Makefile
index af025cb..14c13f1 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -53,7 +53,7 @@ tests-static += tst-malloc-usable-static-tunables
endif
tests += $(tests-static)
-test-srcs = tst-mtrace tst-dynarray tst-dynarray-fail
+test-srcs = tst-mtrace
routines = malloc morecore mcheck mtrace obstack reallocarray \
scratch_buffer_grow scratch_buffer_grow_preserve \