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]

[PATCH] Add tests-static to tests in malloc/Makefile


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(-)

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 \
-- 
2.7.4


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