[PATCH] D68836: [lit] Small cleanups in main.py

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 14:53:03 PDT 2019


yln created this revision.
yln added reviewers: rnk, ddunbar, serge-sans-paille, probinson, jdenny, cishida, nate_chandler, jordan_rose.
Herald added subscribers: llvm-commits, delcypher.
Herald added a project: LLVM.

- Extract separate function for running tests from main
- Push single-usage imports to point of usage
- Remove unnecessary sys.exit(0) calls


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68836

Files:
  llvm/utils/lit/lit/main.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68836.224485.patch
Type: text/x-patch
Size: 3224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191010/0096e347/attachment.bin>


More information about the llvm-commits mailing list