Disable this test for Windows.
authorJim Ingham <jingham@apple.com>
Thu, 4 Jun 2020 17:49:26 +0000 (10:49 -0700)
committerJim Ingham <jingham@apple.com>
Thu, 4 Jun 2020 17:51:01 +0000 (10:51 -0700)
The printf expression crashes with the message:

Attempted to dereference an invalid pointer

Someone who knows more about Windows should suggest how to fix this.

lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py

index 082b556..b108d53 100644 (file)
@@ -8,12 +8,13 @@ during an expression is not changed by running the expression
 import lldb
 import lldbsuite.test.lldbutil as lldbutil
 from lldbsuite.test.lldbtest import *
-
+from lldbsuite.test.decorators import *
 
 class TestStopReasonAfterExpression(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
+    @skipIfWindows
     def test_thread_state_after_expr(self):
         self.build()
         self.main_source_file = lldb.SBFileSpec("main.cpp")