[all-commits] [llvm/llvm-project] 4fccdd: [lldb] Fix bug in skipIfRosetta decorator

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Aug 5 20:51:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fccdd5c85d05b3b03d029f533762e233259573c
      https://github.com/llvm/llvm-project/commit/4fccdd5c85d05b3b03d029f533762e233259573c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py

  Log Message:
  -----------
  [lldb] Fix bug in skipIfRosetta decorator

Currently, the skipIfRosetta decorator will skip tests with the message
"not on macOS" on all platforms that are not `darwin` or `macosx`.
Instead, it should only check the platform and architecture when running
on these platforms.

This triggers for example when running the test suite on device.

Differential revision: https://reviews.llvm.org/D85388




More information about the All-commits mailing list