[PATCH] D89493: [lit] Implement `not` as a builtin in the Lit internal shell

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 12:50:06 PDT 2020


ldionne created this revision.
ldionne added reviewers: delcypher, jdenny.
Herald added subscribers: llvm-commits, dexonsmith, jkorous.
Herald added a project: LLVM.
ldionne requested review of this revision.

Instead of using LLVM's `not.cpp`, implement `not` in the internal Lit
shell as a builtin. This allows creating test suites that use the
internal Lit shell without depending on `llvm/utils/not`, which in
turn depends on the LLVM support libraries.

This work is done in the context of trying to move the libc++ test
suite to the internal Lit shell -- the libc++ test suite currently
doesn't depend on the LLVM support libraries, and it would be ideal
to keep it that way.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89493

Files:
  llvm/utils/lit/lit/TestRunner.py
  llvm/utils/lit/lit/builtin_commands/not.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89493.298443.patch
Type: text/x-patch
Size: 3193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/f7bbeafe/attachment.bin>


More information about the llvm-commits mailing list