Add a decorator to skip tests when running under Rosetta
authorAdrian Prantl <aprantl@apple.com>
Mon, 13 Jul 2020 20:09:53 +0000 (13:09 -0700)
committerAdrian Prantl <aprantl@apple.com>
Mon, 13 Jul 2020 20:09:53 +0000 (13:09 -0700)
commit341ec564182161861ec4415cdee1f4f3a0527e97
tree5f263dcd1cd32ea5b93e9762dbcbb1f532fb826c
parent340c376b87c72e7eb3670301e4920106615b6689
Add a decorator to skip tests when running under Rosetta

This allows skipping a test when running the testsuite on macOS under
the Rosetta translation layer.

Differential Revision: https://reviews.llvm.org/D83600
lldb/packages/Python/lldbsuite/test/decorators.py