From: Jonas Devlieghere Date: Wed, 27 May 2020 19:07:08 +0000 (-0700) Subject: [lldb/Reproducers] Skip tests relying on timeouts X-Git-Tag: llvmorg-12-init~4966 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c30c2368c77f05a1447bb7442c6ac2fad2912a57;p=platform%2Fupstream%2Fllvm.git [lldb/Reproducers] Skip tests relying on timeouts The reproducer don't model timeouts so tests that rely on them end up with unexpected packets during replay. Skip them until we can handle this scenario. --- diff --git a/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py b/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py index d7d9633..3423ec6 100644 --- a/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py +++ b/lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py @@ -17,6 +17,7 @@ class ExprDoesntDeadlockTestCase(TestBase): @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr17946') @add_test_categories(["basic_process"]) + @skipIfReproducer # Timeouts are not currently modeled. def test_with_run_command(self): """Test that expr will time out and allow other threads to run if it blocks.""" self.build() diff --git a/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py b/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py index 42e28a5..36ed7ce 100644 --- a/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py +++ b/lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py @@ -26,6 +26,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase): oslist=[ "windows"], bugnumber="llvm.org/pr21765") + @skipIfReproducer # Timeouts are not currently modeled. def test(self): """Test calling std::String member function.""" self.build()