Browse Source

allow to disable threads and dynamic linking support tests

Waldemar Brodkorb 7 years ago
parent
commit
264f959bb6
1 changed files with 10 additions and 0 deletions
  1. 10 0
      test/Makefile

+ 10 - 0
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