[Lldb-commits] [PATCH] D14060: Deprecate -m/+m dotest options in favor of test categories

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 26 03:57:17 PDT 2015


labath created this revision.
labath added reviewers: tfiala, dawn, ki.stfu, abidh.
labath added a subscriber: lldb-commits.

This change deprecates -m/+m dotest options (the options are still recognized but they print an
error message pointing to the new options) and adds a new lldb-mi test category instead. To just
run lldb-mi tests, use '-G lldb-mi'. To skip lldb-mi tests, use '--skip-category lldb-mi'. All
lldb-mi tests are marked as such using the getCategories method on the base MiTestCaseBase class
and the @lldbmi_test decorator is not needed. In case one still needs to annotate a specific test
function as an lldb-mi test, one can use the @add_test_categories(['lldb-mi']) decorator to
achieve that.

http://reviews.llvm.org/D14060

Files:
  test/dotest.py
  test/dotest_args.py
  test/lldbtest.py
  test/test_categories.py
  test/tools/lldb-mi/TestMiExit.py
  test/tools/lldb-mi/TestMiFile.py
  test/tools/lldb-mi/TestMiGdbSetShow.py
  test/tools/lldb-mi/TestMiLibraryLoaded.py
  test/tools/lldb-mi/TestMiPrompt.py
  test/tools/lldb-mi/breakpoint/TestMiBreak.py
  test/tools/lldb-mi/control/TestMiExec.py
  test/tools/lldb-mi/data/TestMiData.py
  test/tools/lldb-mi/interpreter/TestMiCliSupport.py
  test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py
  test/tools/lldb-mi/lldbmi_testcase.py
  test/tools/lldb-mi/signal/TestMiSignal.py
  test/tools/lldb-mi/stack/TestMiStack.py
  test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
  test/tools/lldb-mi/symbol/TestMiSymbol.py
  test/tools/lldb-mi/syntax/TestMiSyntax.py
  test/tools/lldb-mi/target/TestMiTarget.py
  test/tools/lldb-mi/variable/TestMiGdbSetShowPrint.py
  test/tools/lldb-mi/variable/TestMiVar.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14060.38389.patch
Type: text/x-patch
Size: 49168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151026/3398f426/attachment-0001.bin>


More information about the lldb-commits mailing list