0001-test-disable-test-when-UCLIBC_HAS_XLOCALE-is-n.patch 951 B

123456789101112131415161718192021222324252627282930
  1. From 78bcf3a7a5db798d301875adba55b7b33397b789 Mon Sep 17 00:00:00 2001
  2. From: Waldemar Brodkorb <wbx@openadk.org>
  3. Date: Thu, 28 Aug 2014 14:09:51 +0200
  4. Subject: [PATCH] test: disable test when UCLIBC_HAS_XLOCALE is n
  5. wcsftime() is only implemented when locale support in uClibc
  6. is activated. So test will always fail when locale is deactivated
  7. by the user.
  8. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
  9. ---
  10. test/time/Makefile.in | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/test/time/Makefile.in b/test/time/Makefile.in
  13. index 05f73a4..3b063f9 100644
  14. --- a/test/time/Makefile.in
  15. +++ b/test/time/Makefile.in
  16. @@ -5,7 +5,7 @@ TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
  17. tst-strftime tst-strptime tst-timezone
  18. ifneq ($(UCLIBC_HAS_XLOCALE),y)
  19. -TESTS_DISABLED += tst-ftime_l
  20. +TESTS_DISABLED += tst-ftime_l tst_wcsftime.c
  21. endif
  22. CFLAGS_tst-strptime2 := -std=c99
  23. --
  24. 1.8.5.2 (Apple Git-48)