[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 15:50:58 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd1171bca963b: [update_test_checks] Allow opt to have .exe file extension (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91091/new/
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.304004.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201109/490b67a7/attachment-0001.bin>
More information about the llvm-commits
mailing list