diff --git a/lldb/test/API/lldbtest.py b/lldb/test/API/lldbtest.py index f583d93bb147d..7c276300366a2 100644 --- a/lldb/test/API/lldbtest.py +++ b/lldb/test/API/lldbtest.py @@ -94,7 +94,7 @@ def execute(self, test, litConfig): # libc++abi.dylib: terminating with uncaught exception of type \ # std::__1::system_error: recursive_mutex lock failed: Invalid argument if ( - 'RESULT: PASSED' in err and + 'PASS' in err and 'recursive_mutex lock failed' in err and exitCode != 0 ):