From 61cf47568f3f81589cc4462945832c18ec3af410 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 27 Jan 2016 22:32:52 +0100 Subject: test: disable tests requiring math headers --- test/Makefile | 3 +++ test/locale-mbwc/Makefile.in | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'test') 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 -- cgit v1.2.3