You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/numerics/complex.number/complex.ops
Asiri Rathnayake 94d9b1c5b2 [libcxx] Fixup a few fumbles in the initial no-exceptions XFAILs list.
The initial buildbot run found a few missing bits in the initial XFAIL list
for the no-exceptions libc++ variant. These discrepancies are as follows:

[1] Following two tests need XFAILs on the no-exceptions library variant.
My local runs had these two disabled for other reasons (unsupported):

  - localization/locales/locale/locale.cons/char_pointer.pass.cpp
  - numerics/complex.number/complex.ops/complex_divide_complex.pass.cpp

[2] These three does not need XFAILs, they were failing on my local runs for
other reasons:

  - depr/depr.c.headers/uchar_h.pass.cpp
  - input.output/iostreams.base/ios/basic.ios.members/copyfmt.pass.cpp
  - .../category.collate/locale.collate.byname/transform.pass.cpp

(these are failing on my box for the default build as well)

The current patch fixes both the cases above. Additionally, I've run the
following scan to make sure I've covered all the cases:

> grep ' catch \| try \| throw ' -R . | perl -pe 's|(.*?):.*|\1|' | sort | \
  uniq > 1.txt
> grep 'libcpp-no-exceptions' -R . | perl -pe 's|(.*?):.*|\1|' | sort | \
  uniq > 2.txt
> diff 1.txt 2.txt

This showed up a few extra interesting cases:

[3] These two tests do not use try/catch/throw statements, but they fail at
runtime. Need to be investigated, I've left the XFAILs in.

  - std/thread/futures/futures.shared_future/dtor.pass.cpp
  - std/thread/futures/futures.unique_future/dtor.pass.cpp

[4] These tests use a macro named TEST_HAS_NO_EXCEPTIONS to conditionally
exclude try/catch/throw statements when running without exceptions. I'm not
entirely sure why this was needed (AFAIK, we didn't have a no-exceptions
library build before). The macro's defintion is quite similar to that of
_LIBCPP_NO_EXCEPTIONS. I will investigate if this can be reused for my test
fixes or if it should be replaced with _LIBCPP_NO_EXCEPTIONS.

  - std/experimental/any/*

Change-Id: I9ad1e0edd78f305406eaa0ab148b1ab693f7e26a

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@252870 91177308-0d34-0410-b5e6-96231b3b80d8
10 years ago
..
complex_divide_complex.pass.cpp [libcxx] Fixup a few fumbles in the initial no-exceptions XFAILs list. 10 years ago
complex_divide_scalar.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_equals_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_equals_scalar.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_minus_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_minus_scalar.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_not_equals_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_not_equals_scalar.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_plus_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_plus_scalar.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_times_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
complex_times_scalar.pass.cpp Move test into test/std subdirectory. 11 years ago
scalar_divide_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
scalar_equals_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
scalar_minus_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
scalar_not_equals_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
scalar_plus_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
scalar_times_complex.pass.cpp Move test into test/std subdirectory. 11 years ago
stream_input.pass.cpp Move test into test/std subdirectory. 11 years ago
stream_output.pass.cpp Move test into test/std subdirectory. 11 years ago
unary_minus.pass.cpp Move test into test/std subdirectory. 11 years ago
unary_plus.pass.cpp Move test into test/std subdirectory. 11 years ago