[Lldb-commits] [lldb] a52cc9b - [lldb] Handle alternative output in TestAbortExitCode
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 12 16:30:31 PDT 2020
Author: Dave Lee
Date: 2020-10-12T16:27:06-07:00
New Revision: a52cc9b4be362b12ca261000b723374d4b772a45
URL: https://github.com/llvm/llvm-project/commit/a52cc9b4be362b12ca261000b723374d4b772a45
DIFF: https://github.com/llvm/llvm-project/commit/a52cc9b4be362b12ca261000b723374d4b772a45.diff
LOG: [lldb] Handle alternative output in TestAbortExitCode
This test
On macOS, this test can instead return `status = 0 (0x00000000) Terminated due to signal 6`. This updates the `CHECK` accordingly.
Differential Revision: https://reviews.llvm.org/D89273
Added:
Modified:
lldb/test/Shell/Process/TestAbortExitCode.test
Removed:
################################################################################
diff --git a/lldb/test/Shell/Process/TestAbortExitCode.test b/lldb/test/Shell/Process/TestAbortExitCode.test
index 5be0a15ab172..746bc915897e 100644
--- a/lldb/test/Shell/Process/TestAbortExitCode.test
+++ b/lldb/test/Shell/Process/TestAbortExitCode.test
@@ -3,4 +3,4 @@ UNSUPPORTED: system-windows
RUN: %clang_host %p/Inputs/abort.c -o %t
RUN: %lldb %t -o run -o continue | FileCheck %s
-CHECK: status = 6 (0x00000006)
+CHECK: {{status = 6 \(0x00000006\)|status = 0 \(0x00000000\) Terminated due to signal 6}}
More information about the lldb-commits
mailing list