[llvm] cba252d - update_test_checks: fix typos
Nicolai Hähnle via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 29 14:09:15 PST 2022
Author: Nicolai Hähnle
Date: 2022-11-29T23:08:47+01:00
New Revision: cba252de08a1c9eb208d976ade8f24d725f0963b
URL: https://github.com/llvm/llvm-project/commit/cba252de08a1c9eb208d976ade8f24d725f0963b
DIFF: https://github.com/llvm/llvm-project/commit/cba252de08a1c9eb208d976ade8f24d725f0963b.diff
LOG: update_test_checks: fix typos
Found by our downstream CI.
Added:
Modified:
llvm/utils/UpdateTestChecks/common.py
llvm/utils/update_analyze_test_checks.py
llvm/utils/update_llc_test_checks.py
llvm/utils/update_mir_test_checks.py
llvm/utils/update_test_checks.py
Removed:
################################################################################
diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index 438706e91f9a..6a2c2f4e01f5 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -601,7 +601,7 @@ def process_run_line(self, function_re, scrubber, raw_tool_output, prefixes, is_
else:
# This means a previous RUN line produced a body for this function
# that is
diff erent from the one produced by this current RUN line,
- # so the body can't be common accross RUN lines. We use None to
+ # so the body can't be common across RUN lines. We use None to
# indicate that.
self._func_dict[prefix][func] = None
else:
diff --git a/llvm/utils/update_analyze_test_checks.py b/llvm/utils/update_analyze_test_checks.py
index bba2d7c4636d..ed2d5d455271 100755
--- a/llvm/utils/update_analyze_test_checks.py
+++ b/llvm/utils/update_analyze_test_checks.py
@@ -67,7 +67,7 @@ def main():
prefix_list = []
for l in ti.run_lines:
if '|' not in l:
- common.warn('Skipping unparseable RUN line: ' + l)
+ common.warn('Skipping unparsable RUN line: ' + l)
continue
(tool_cmd, filecheck_cmd) = tuple([cmd.strip() for cmd in l.split('|', 1)])
diff --git a/llvm/utils/update_llc_test_checks.py b/llvm/utils/update_llc_test_checks.py
index 4ce5534a2b73..f9e205155f3e 100755
--- a/llvm/utils/update_llc_test_checks.py
+++ b/llvm/utils/update_llc_test_checks.py
@@ -57,7 +57,7 @@ def main():
run_list = []
for l in ti.run_lines:
if '|' not in l:
- common.warn('Skipping unparseable RUN line: ' + l)
+ common.warn('Skipping unparsable RUN line: ' + l)
continue
commands = [cmd.strip() for cmd in l.split('|')]
diff --git a/llvm/utils/update_mir_test_checks.py b/llvm/utils/update_mir_test_checks.py
index 70bc736e191d..5fb811023922 100755
--- a/llvm/utils/update_mir_test_checks.py
+++ b/llvm/utils/update_mir_test_checks.py
@@ -101,7 +101,7 @@ def build_run_list(test, run_lines, verbose=False):
all_prefixes = []
for l in run_lines:
if '|' not in l:
- common.warn('Skipping unparseable RUN line: ' + l)
+ common.warn('Skipping unparsable RUN line: ' + l)
continue
commands = [cmd.strip() for cmd in l.split('|', 1)]
diff --git a/llvm/utils/update_test_checks.py b/llvm/utils/update_test_checks.py
index c433de68dad0..e43efa3ea924 100755
--- a/llvm/utils/update_test_checks.py
+++ b/llvm/utils/update_test_checks.py
@@ -84,7 +84,7 @@ def main():
prefix_list = []
for l in ti.run_lines:
if '|' not in l:
- common.warn('Skipping unparseable RUN line: ' + l)
+ common.warn('Skipping unparsable RUN line: ' + l)
continue
commands = [cmd.strip() for cmd in l.split('|')]
More information about the llvm-commits
mailing list