summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 18:57:45 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 18:57:45 +0200
commit264f959bb6a6acdec577f20d23bf9b533268195b (patch)
tree3c5d45aebcc9a814ca63152de8606ec5a0d2a093
parent7e8a80ea4406c9b18e2eedfde7e09a5711cca8d5 (diff)
allow to disable threads and dynamic linking support tests
-rw-r--r--test/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 3044d7b..00dc705 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -9,6 +9,16 @@ ALL_SUBDIRS := $(patsubst %/Makefile,%,$(wildcard */Makefile))
DIRS := $(ALL_SUBDIRS)
+ifeq ($(NO_THREADS),1)
+DIRS := $(filter-out nptl,$(DIRS))
+DIRS := $(filter-out pthread,$(DIRS))
+DIRS := $(filter-out tls,$(DIRS))
+endif
+
+ifeq ($(NO_DL),1)
+DIRS := $(filter-out dlopen,$(DIRS))
+endif
+
ifeq ($(NO_LOCALE),1)
DIRS := $(filter-out locale,$(DIRS))
endif