summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-03 12:16:31 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-03 12:16:31 +0100
commitb0dc7f928db08734fe681f49b9741da9d148e01a (patch)
tree78ad12f467f60267e55479a275a41b44936d0422
parent8ccb533ea3d117ff216100b0989ac75c2509a671 (diff)
shelltests: remove
-rw-r--r--test/Test.mak10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/Test.mak b/test/Test.mak
index 14ccb7f..7514f9a 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -9,9 +9,6 @@ endif
ifneq ($(TESTS_DISABLED),)
TESTS := $(filter-out $(TESTS_DISABLED),$(TESTS))
endif
-ifeq ($(SHELL_TESTS),)
-SHELL_TESTS := $(patsubst %.sh,shell_%,$(wildcard *.sh))
-endif
ifneq ($(filter-out test,$(strip $(TESTS))),$(strip $(TESTS)))
$(error Sanity check: cannot have a test named "test.c")
@@ -27,7 +24,6 @@ RUN_TARGETS := $(sort $(addsuffix .exe,$(TARGETS)))
COMPILE_TARGETS := $(sort $(COMPILE_TARGETS))
# provide build rules even for disabled tests:
TARGETS += $(TESTS_DISABLED)
-TARGETS += $(SHELL_TESTS)
CFLAGS += $(CFLAGS_$(notdir $(CURDIR)))
ifeq (1,$(UCLIBCNG_GENERATE_TESTRUNNER))
UCLIBCNG_TEST_SUBDIR ?= $(patsubst $(realpath $(TESTDIR))/%,%,$(CURDIR))
@@ -102,12 +98,6 @@ $(TARGETS): $(TARGET_SRCS) $(MAKE_SRCS)
$(Q)$(CC) $(filter-out $(CFLAGS-OMIT-$@),$(CFLAGS)) $(EXTRA_CFLAGS) $(CFLAGS_$(notdir $(CURDIR))) $(CFLAGS_$@) -c $@.c -o $@.o
$(Q)$(CC) $(filter-out $(LDFLAGS-OMIT-$@),$(LDFLAGS)) $@.o -o $@ $(EXTRA_LDFLAGS) $(LDFLAGS_$@)
-shell_%:
- $(showtest)
- $(Q)$(if $(PRE_RUN_$(@)),$(PRE_RUN_$(@)))
- $(Q)$(SHELL) $(patsubst shell_%,%.sh,$(binary_name))
- $(Q)$(if $(POST_RUN_$(@)),$(POST_RUN_$(@)))
-
%.so: %.c
$(showlink)
$(Q)$(CC) \