projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2fa3b9
)
[update_test_checks] Allow opt to have .exe file extension
author
Arthur Eubanks
<aeubanks@google.com>
Mon, 9 Nov 2020 18:35:23 +0000
(10:35 -0800)
committer
Arthur Eubanks
<aeubanks@google.com>
Mon, 9 Nov 2020 23:50:30 +0000
(15:50 -0800)
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D91091
llvm/utils/update_test_checks.py
patch
|
blob
|
history
diff --git
a/llvm/utils/update_test_checks.py
b/llvm/utils/update_test_checks.py
index
1cbd727
..
31f8f2b
100755
(executable)
--- a/
llvm/utils/update_test_checks.py
+++ b/
llvm/utils/update_test_checks.py
@@
-59,7
+59,7
@@
def main():
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'