浏览代码

Disable tst-ftime_l test if Extended Locale Support
is not enabled, otherwise build will fail

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>

Carmelo Amoroso 17 年之前
父节点
当前提交
12d01123e8
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      test/time/Makefile

+ 4 - 0
test/time/Makefile

@@ -4,6 +4,10 @@
 TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
 TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
 	tst-strftime tst-strptime tst-timezone
 	tst-strftime tst-strptime tst-timezone
 
 
+ifneq ($(UCLIBC_HAS_XLOCALE),y)
+TESTS_DISABLED += tst-ftime_l
+endif
+
 include ../Test.mak
 include ../Test.mak
 
 
 CFLAGS_tst-strptime2 := -std=c99
 CFLAGS_tst-strptime2 := -std=c99