summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/unord.hash
diff options
context:
space:
mode:
authorEtienne Bergeron <etienneb@google.com>2016-07-12 15:33:25 +0000
committerEtienne Bergeron <etienneb@google.com>2016-07-12 15:33:25 +0000
commitc4d57d9c5f62080744fb3890be56367afe38fcf8 (patch)
tree5f11653d7c80fb486fa0b70cea9ad48313a9d188 /libcxx/test/std/utilities/function.objects/unord.hash
parent9c2a22000e9d9e473a9e1e3bea94aaf880cc1831 (diff)
downloadbcm5719-llvm-c4d57d9c5f62080744fb3890be56367afe38fcf8.tar.gz
bcm5719-llvm-c4d57d9c5f62080744fb3890be56367afe38fcf8.zip
[compiler-rt] Disable a test failing on windows.
Summary: The unittest is not working on windows. The "regexp.h" is not available and gtest-port won't support regexp with operator '|'. The test wasn't failing on 32-bits because of this check: ``` if (SANITIZER_WORDSIZE != 64 || ASAN_AVOID_EXPENSIVE_TESTS) return; ``` ``` [ RUN ] AddressSanitizer.HugeMallocTest C:/src/llvm/llvm/utils/unittest/googletest\src/gtest-port.cc(272): error: Failed Syntax error at index 30 in simple regular expression "is located 1 bytes to the left|AddressSanitizer failed to allocate": '|' is unsupported. C:/src/llvm/llvm/projects/compiler-rt/lib/asan/tests/asan_test.cc(308): error: Death test: Ident((char*)malloc(n_megs << 20))[-1] = 0 Result: died but not with expected error. Expected: is located 1 bytes to the left|AddressSanitizer failed to allocate ``` See gtest-port.h: ``` #elif GTEST_OS_WINDOWS // <regex.h> is not available on Windows. Use our own simple regex // implementation instead. # define GTEST_USES_SIMPLE_RE 1 ``` Reviewers: rnk Subscribers: llvm-commits, wang0109, kubabrecka, chrisha Differential Revision: http://reviews.llvm.org/D22257 llvm-svn: 275181
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/unord.hash')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud