[PATCH] D70428: [UptestTestChecks][NFC] Share some common command line options code

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 03:18:13 PST 2019


arichardson created this revision.
arichardson added reviewers: xbolva00, MaskRay.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add a function common.parse_commandline_args() that adds options common
to all tools (--verbose and --update-only) and returns the parsed
commandline arguments. I plan to use the shared parsing of --verbose in a
follow-up commit to remove most of the `if args.verbose:` checks in the
scripts.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70428

Files:
  llvm/utils/UpdateTestChecks/common.py
  llvm/utils/update_analyze_test_checks.py
  llvm/utils/update_cc_test_checks.py
  llvm/utils/update_llc_test_checks.py
  llvm/utils/update_mca_test_checks.py
  llvm/utils/update_mir_test_checks.py
  llvm/utils/update_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70428.230021.patch
Type: text/x-patch
Size: 7361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191119/24d6463b/attachment.bin>


More information about the llvm-commits mailing list