diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-06-20 13:14:33 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-06-20 14:12:39 +0300 |
commit | b1f55c33d435ef8a68735774ea32f0252750ebcd (patch) | |
tree | 39d7af6a7e4e9584e7a3ac9586425fab2a5fdb33 /llvm/utils/update_test_checks.py | |
parent | c5b7335dc8ebdf6c007363631ae154e97ea4a733 (diff) | |
download | llvm-b1f55c33d435ef8a68735774ea32f0252750ebcd.zip llvm-b1f55c33d435ef8a68735774ea32f0252750ebcd.tar.gz llvm-b1f55c33d435ef8a68735774ea32f0252750ebcd.tar.bz2 |
[UpdateTestUtils] Print test filename when complaining about conflicting prefix
Now that FileCheck eagerly complains when prefixes are unused,
the update script does the same, and is becoming very common
to need to drop some prefixes, yet figuring out the file
it complains about isn't obvious unless it actually tells us.
Diffstat (limited to 'llvm/utils/update_test_checks.py')
-rwxr-xr-x | llvm/utils/update_test_checks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/update_test_checks.py b/llvm/utils/update_test_checks.py index e240c6c..9ac95ccd 100755 --- a/llvm/utils/update_test_checks.py +++ b/llvm/utils/update_test_checks.py @@ -113,7 +113,8 @@ def main(): builder = common.FunctionTestBuilder( run_list=prefix_list, flags=ti.args, - scrubber_args=[]) + scrubber_args=[], + path=ti.path) for prefixes, opt_args, preprocess_cmd in prefix_list: common.debug('Extracted opt cmd: ' + opt_basename + ' ' + opt_args) |