diff mbox

Add tests-static to tests in malloc/Makefile

Message ID 1473504091-4342-1-git-send-email-siddhesh@sourceware.org
State New
Headers show

Commit Message

Siddhesh Poyarekar Sept. 10, 2016, 10:41 a.m. UTC
This is a trivial change to add the static tests only to tests-static
and then adding all of tests-static to the tests target to make it
look consistent with some other Makefiles.  This avoids having to
duplicate the test names across the two make targets.

	* malloc/Makefile (tests): Remove individual static test names
	and just add all of tests-static.
---
 ChangeLog       | 3 +++
 malloc/Makefile | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

Comments

Florian Weimer Sept. 10, 2016, 11:15 a.m. UTC | #1
* Siddhesh Poyarekar:

>  2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
>  
> +	* malloc/Makefile (tests): Remove individual static test names
> +	and just add all of tests-static.
> +
>  	* csu/libc-start.c (__libc_csu_irel): Remove declaration.

Looks okay.

Florian
diff mbox

Patch

diff --git a/ChangeLog b/ChangeLog
index 607508d..b417ee7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@ 
 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
+	* malloc/Makefile (tests): Remove individual static test names
+	and just add all of tests-static.
+
 	* csu/libc-start.c (__libc_csu_irel): Remove declaration.
 
 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
diff --git a/malloc/Makefile b/malloc/Makefile
index 037e830..d79d66f 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -33,13 +33,12 @@  tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
 	 tst-mallocfork2 \
 	 tst-interpose-nothread \
 	 tst-interpose-thread \
-	 tst-interpose-static-nothread \
-	 tst-interpose-static-thread \
 
 tests-static := \
 	 tst-interpose-static-nothread \
 	 tst-interpose-static-thread \
 
+tests += $(tests-static)
 test-srcs = tst-mtrace
 
 routines = malloc morecore mcheck mtrace obstack \