diff mbox

Dynamic growable arrays for internal use

Message ID ca57d930-4c9e-e9a3-6a9d-07dc2c45c980@redhat.com
State New
Headers show

Commit Message

Florian Weimer June 7, 2017, 9:54 a.m. UTC
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
diff mbox

Patch

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 \