allow using Debian's opt-8, opt-9 with update_test_checks.py
Details
Details
- Reviewers
RKSimon MaskRay - Commits
- rZORGa5f459cb573b: [utils] update_test_checks.py: allow opt-8, opt-9
rZORG9c0b99395c6b: [utils] update_test_checks.py: allow opt-8, opt-9
rGa5f459cb573b: [utils] update_test_checks.py: allow opt-8, opt-9
rG9c0b99395c6b: [utils] update_test_checks.py: allow opt-8, opt-9
rG91ab86fd29be: [utils] update_test_checks.py: allow opt-8, opt-9
rL360536: [utils] update_test_checks.py: allow opt-8, opt-9
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Why?
It doesn't make sense to generate check lines with anything other than the newly-built opt.
Comment Actions
Same thoughts here - I'm not against this change but first I'd like some context as to why its useful.
Comment Actions
Same thoughts. The version of the opt command must be in sync with the version of tests. Since this utility is only useful for top of trunk, an older opt is not useful.
Comment Actions
Yeah sorry. I wanted to use these http://apt.llvm.org/ to sanity check myself. While you can always just use opt directly, using this tool make git diff work.
Comment Actions
I think there may be some value to compare how releases evolve..
utils/update_test_checks.py | ||
---|---|---|
71 ↗ | (On Diff #196722) | We can probably use if not re.match(r'^opt(-\d+)?$', opt_basename): |