[PATCH] D91091: [update_test_checks] Allow opt to have .exe file extension
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 10:36:33 PST 2020
aeubanks created this revision.
aeubanks added reviewers: rnk, hans.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
aeubanks requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91091
Files:
llvm/utils/update_test_checks.py
Index: llvm/utils/update_test_checks.py
===================================================================
--- llvm/utils/update_test_checks.py
+++ llvm/utils/update_test_checks.py
@@ -59,7 +59,7 @@
script_name = os.path.basename(__file__)
opt_basename = os.path.basename(initial_args.opt_binary)
- if not re.match(r'^opt(-\d+)?$', opt_basename):
+ if not re.match(r'^opt(-\d+)?(\.exe)?$', opt_basename):
common.error('Unexpected opt name: ' + opt_basename)
sys.exit(1)
opt_basename = 'opt'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91091.303929.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201109/05c6cb52/attachment.bin>
More information about the llvm-commits
mailing list