This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Dynamic growable arrays for internal use


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 \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]