[Lldb-commits] [PATCH] D75864: Add a decorator option to skip tests based on a default setting

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 10 08:40:03 PDT 2020


aprantl marked an inline comment as done.
aprantl added inline comments.


================
Comment at: lldb/test/API/sanity/TestSettingSkipping.py:28
+  def testNotExisting(self):
+    self.assertTrue(True, "This test should run!")
+
----------------
JDevlieghere wrote:
> This won't trip if the tests doesn't run. If you make the assert trip and XFAIL the test it should catch it. 
I'm not sure how that would work. Can you post an example? I want to test the skipIf decorator — how would I XFAIL it?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75864/new/

https://reviews.llvm.org/D75864





More information about the lldb-commits mailing list