summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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