[PATCH] D55767: [libcxx] [test] Add target_info for NetBSD, and XFAIL some of locale tests

Michał Górny via Phabricator reviews at reviews.llvm.org
Mon Dec 17 07:47:04 PST 2018


mgorny created this revision.
mgorny added reviewers: krytarowski, joerg.
Herald added subscribers: jfb, ldionne, christof, emaste.
Herald added a reviewer: EricWF.

Add a target_info definition for NetBSD.  The definition is based
on the one used by FreeBSD, with libcxxrt replaced by libc++abi,
and using llvm-libunwind since we need to use its unwinder
implementation to build anyway.

Additionally, XFAIL the 30 tests that fail because of non-implemented
locale features.  According to the manual, NetBSD implements only
LC_CTYPE part of locale handling.  However, there is a locale database
in the system and locale specifications are validated against it,
so it makes sense to list the common locales as supported.

If I'm counting correctly, this change enables additional 43 passing
tests.


Repository:
  rCXX libc++

https://reviews.llvm.org/D55767

Files:
  test/std/localization/locale.categories/category.collate/locale.collate.byname/transform.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/grouping.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp
  test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
  test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date.pass.cpp
  test/std/localization/locale.categories/category.time/locale.time.get.byname/get_date_wide.pass.cpp
  test/std/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp
  test/std/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp
  test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp
  test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp
  test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
  test/std/localization/locales/locale/locale.cons/char_pointer.pass.cpp
  test/std/re/re.alg/re.alg.match/basic.pass.cpp
  test/std/re/re.alg/re.alg.match/ecma.pass.cpp
  test/std/re/re.alg/re.alg.match/extended.pass.cpp
  test/std/re/re.alg/re.alg.search/awk.pass.cpp
  test/std/re/re.alg/re.alg.search/basic.pass.cpp
  test/std/re/re.alg/re.alg.search/ecma.pass.cpp
  test/std/re/re.alg/re.alg.search/extended.pass.cpp
  test/std/re/re.traits/lookup_collatename.pass.cpp
  test/std/re/re.traits/transform.pass.cpp
  test/std/re/re.traits/transform_primary.pass.cpp
  utils/libcxx/test/target_info.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55767.178466.patch
Type: text/x-patch
Size: 19891 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181217/eea053bb/attachment-0001.bin>


More information about the libcxx-commits mailing list