Add a decorator option to skip tests based on a default setting.
authorAdrian Prantl <aprantl@apple.com>
Mon, 9 Mar 2020 17:40:33 +0000 (10:40 -0700)
committerAdrian Prantl <aprantl@apple.com>
Wed, 11 Mar 2020 17:00:36 +0000 (10:00 -0700)
commit0396aa4c05a4b97101da14b5e813c8ab3a34e9d0
tree34f4c060d002f8260ddaef44602781eed189b047
parentfbf41b52677d9e64a888be755b4fdaef89cf519e
Add a decorator option to skip tests based on a default setting.

This patch allows skipping a test based on a default setting, which is
useful when running the testsuite in different "modes" based on a
default setting. This is a feature I need for the Swift testsuite, but
I think it's generally useful.

Differential Revision: https://reviews.llvm.org/D75864
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/test/API/sanity/TestSettingSkipping.py [new file with mode: 0644]