[Lldb-commits] [PATCH] D86745: [lldb/test] Use @skipIfWindows for PExpectTest

Jordan Rupprecht via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 27 15:47:10 PDT 2020


rupprecht created this revision.
rupprecht added a reviewer: teemperor.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
rupprecht requested review of this revision.
Herald added a subscriber: JDevlieghere.

Annotating `PExpectTest` with `@skipIfWindows` instead of marking it as an empty class will make the test runner recognize it as a test class, which should allow me to reland adb5c23f8c0d60eeec41dcbe21d1b26184e1c97d <https://reviews.llvm.org/rGadb5c23f8c0d60eeec41dcbe21d1b26184e1c97d>.

I don't have a windows machine to verify this works, but I did some tests using `@skipIfLinux` and they all worked as expected. In case the `pexpect` import is not at all available on windows, I moved it to within the method where it's used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86745

Files:
  lldb/packages/Python/lldbsuite/test/lldbpexpect.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86745.288473.patch
Type: text/x-patch
Size: 4532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200827/7f608f9f/attachment.bin>


More information about the lldb-commits mailing list