From 0aee3966d647af55231db535b61553531f64d02e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 25 Nov 2009 15:56:28 +0100 Subject: sync confname, environments with glibc Plus related synch. Add a testcase for the sysconf variables based on the one from glibc Signed-off-by: Bernhard Reutner-Fischer --- test/Test.mak | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/Test.mak') diff --git a/test/Test.mak b/test/Test.mak index 2dab7f741..ce8906208 100644 --- a/test/Test.mak +++ b/test/Test.mak @@ -29,10 +29,14 @@ TARGETS += $(G_TARGETS) endif CLEAN_TARGETS := $(U_TARGETS) $(G_TARGETS) +CLEAN_TARGETS += $(TESTS_DISABLED) $(addsuffix _glibc,$(TESTS_DISABLED)) COMPILE_TARGETS := $(TARGETS) RUN_TARGETS := $(addsuffix .exe,$(TARGETS)) +# provide build rules even for disabled tests: +U_TARGETS += $(TESTS_DISABLED) +G_TARGETS += $(addsuffix _glibc,$(TESTS_DISABLED)) TARGETS += $(SHELL_TESTS) -CFLAGS+=$(CFLAGS_$(notdir $(CURDIR))) +CFLAGS += $(CFLAGS_$(notdir $(CURDIR))) define binary_name $(patsubst %.exe,%,$@) @@ -101,7 +105,9 @@ $(G_TARGETS): $(U_TARGET_SRCS) $(MAKE_SRCS) shell_%: $(showtest) + $(Q)$(if $(PRE_RUN_$(@)),$(PRE_RUN_$(@))) $(Q)$(SHELL) $(patsubst shell_%,%.sh,$(binary_name)) + $(Q)$(if $(POST_RUN_$(@)),$(POST_RUN_$(@))) %.so: %.c $(showlink) -- cgit v1.2.3