diff options
| author | Juergen Ributzka <juergen@apple.com> | 2015-11-04 21:03:12 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2015-11-04 21:03:12 +0000 |
| commit | d7dcffaea4ba2cfa3e6582ea61e6b07ec7bd9bde (patch) | |
| tree | 67fc068afaf79e84b4013081bcc36124fe5760b2 /compiler-rt/lib/sanitizer_common/tests | |
| parent | 18bf626cf7fb7635c06f69c3a0f6323722c34041 (diff) | |
| download | bcm5719-llvm-d7dcffaea4ba2cfa3e6582ea61e6b07ec7bd9bde.tar.gz bcm5719-llvm-d7dcffaea4ba2cfa3e6582ea61e6b07ec7bd9bde.zip | |
Revert "Reapply: [asan] On OS X, log reports to syslog and os_trace"
Looks like this commit is deadlocking the ASAN tests on the green dragon bot
(http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA/).
llvm-svn: 252076
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/tests')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cc index 6fc308ad14d..c1bb797db20 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cc +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cc @@ -208,30 +208,6 @@ TEST(SanitizerCommon, StripPathPrefix) { EXPECT_STREQ("file.h", StripPathPrefix("/usr/lib/./file.h", "/usr/lib/")); } -TEST(SanitizerCommon, RemoveANSIEscapeSequencesFromString) { - RemoveANSIEscapeSequencesFromString(nullptr); - const char *buffs[22] = { - "Default", "Default", - "\033[95mLight magenta", "Light magenta", - "\033[30mBlack\033[32mGreen\033[90mGray", "BlackGreenGray", - "\033[106mLight cyan \033[107mWhite ", "Light cyan White ", - "\033[31mHello\033[0m World", "Hello World", - "\033[38;5;82mHello \033[38;5;198mWorld", "Hello World", - "123[653456789012", "123[653456789012", - "Normal \033[5mBlink \033[25mNormal", "Normal Blink Normal", - "\033[106m\033[107m", "", - "", "", - " ", " ", - }; - - for (size_t i = 0; i < ARRAY_SIZE(buffs); i+=2) { - char *buffer_copy = internal_strdup(buffs[i]); - RemoveANSIEscapeSequencesFromString(buffer_copy); - EXPECT_STREQ(buffer_copy, buffs[i+1]); - InternalFree(buffer_copy); - } -} - TEST(SanitizerCommon, InternalScopedString) { InternalScopedString str(10); EXPECT_EQ(0U, str.length()); |

