diff options
author | Mitch Phillips <mitchp@google.com> | 2024-04-10 09:30:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-10 09:30:58 +0000 |
commit | b8a10dca878cd6cdfb78e8f0bbdd4b1fe553bc3e (patch) | |
tree | 9e84f2ef82807c3b7015ab41abe944202d4deb5b | |
parent | 793679f47a23c2f8c8e7354d2bb728a9a673b590 (diff) | |
parent | a2f5335b8404619c36b70c645ffb86e018670325 (diff) | |
download | core-b8a10dca878cd6cdfb78e8f0bbdd4b1fe553bc3e.tar.gz |
Merge "[GWP-ASan] [debuggerd] Change test to handle default recoverable" into main
-rw-r--r-- | debuggerd/debuggerd_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuggerd/debuggerd_test.cpp b/debuggerd/debuggerd_test.cpp index 526e2ca34..3e650c4b8 100644 --- a/debuggerd/debuggerd_test.cpp +++ b/debuggerd/debuggerd_test.cpp @@ -1874,8 +1874,8 @@ TEST_P(GwpAsanCrasherTest, run_gwp_asan_test) { StartProcess([&recoverable]() { const char* env[] = {"GWP_ASAN_SAMPLE_RATE=1", "GWP_ASAN_PROCESS_SAMPLING=1", "GWP_ASAN_MAX_ALLOCS=40000", nullptr, nullptr}; - if (recoverable) { - env[3] = "GWP_ASAN_RECOVERABLE=true"; + if (!recoverable) { + env[3] = "GWP_ASAN_RECOVERABLE=false"; } std::string test_name = ::testing::UnitTest::GetInstance()->current_test_info()->name(); test_name = std::regex_replace(test_name, std::regex("run_gwp_asan_test"), |