From e72856950a9baa76ed41fb8d684cb13375daf48e Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Mon, 16 Mar 2009 13:36:39 +0000 Subject: Fixed makefiles inclusion flow to pass actual configuration variable values. Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro Signed-off-by: Carmelo Amoroso --- test/time/Makefile | 12 +++--------- test/time/Makefile.in | 11 +++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 test/time/Makefile.in (limited to 'test/time') diff --git a/test/time/Makefile b/test/time/Makefile index 8c6978f0d..103acb885 100644 --- a/test/time/Makefile +++ b/test/time/Makefile @@ -1,13 +1,7 @@ # uClibc time tests # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \ - tst-strftime tst-strptime tst-timezone - -ifneq ($(UCLIBC_HAS_XLOCALE),y) -TESTS_DISABLED += tst-ftime_l -endif - +top_builddir=../../ +include ../Rules.mak +-include Makefile.in include ../Test.mak - -CFLAGS_tst-strptime2 := -std=c99 diff --git a/test/time/Makefile.in b/test/time/Makefile.in new file mode 100644 index 000000000..65d814a71 --- /dev/null +++ b/test/time/Makefile.in @@ -0,0 +1,11 @@ +# uClibc time tests +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + +TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \ + tst-strftime tst-strptime tst-timezone + +ifneq ($(UCLIBC_HAS_XLOCALE),y) +TESTS_DISABLED += tst-ftime_l +endif + +CFLAGS_tst-strptime2 := -std=c99 -- cgit v1.2.3