[lldb/Reproducers] Skip tests relying on timeouts
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 May 2020 19:07:08 +0000 (12:07 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 May 2020 19:08:41 +0000 (12:08 -0700)
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.

lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py
lldb/test/API/commands/expression/timeout/TestCallWithTimeout.py

index d7d9633..3423ec6 100644 (file)
@@ -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()
index 42e28a5..36ed7ce 100644 (file)
@@ -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()