summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-01-27 22:32:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-01-27 22:34:31 +0100
commit61cf47568f3f81589cc4462945832c18ec3af410 (patch)
tree992053ffa75e90578ec132d56ed15cf5c58716ed
parentacffbf7d150101fe96c4fa1256fa73371049d4ff (diff)
test: disable tests requiring math headers
-rw-r--r--test/Makefile3
-rw-r--r--test/locale-mbwc/Makefile.in4
2 files changed, 7 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 525a69c3c..138308e73 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -21,6 +21,9 @@ endif
ifneq ($(UCLIBC_HAS_THREADS)$(ARCH_USE_MMU),yy)
DIRS := $(filter-out pthread,$(DIRS))
endif
+ifneq ($(UCLIBC_HAS_FLOATS),y)
+ DIRS := $(filter-out math,$(DIRS))
+endif
ifneq ($(UCLIBC_HAS_FULL_RPC),y)
DIRS := $(filter-out rpc,$(DIRS))
endif
diff --git a/test/locale-mbwc/Makefile.in b/test/locale-mbwc/Makefile.in
index e70a61393..d6a84f234 100644
--- a/test/locale-mbwc/Makefile.in
+++ b/test/locale-mbwc/Makefile.in
@@ -21,6 +21,10 @@ TESTS := tst_iswalnum tst_iswalpha tst_iswcntrl \
# NOTE: For now disabled tst_strfmon to avoid build failure.
TESTS_DISABLED := tst_strfmon
+ifneq ($(UCLIBC_HAS_FLOATS),y)
+TESTS_DISABLED += tst_swscanf tst_wcstod
+endif
+
DODIFF_rint := 1
EXTRA_CFLAGS := -D__USE_GNU -fno-builtin -fPIC