[llvm] 1458bb9 - [lit] NFC: Fix typo in log statement
Louis Dionne via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 17 13:50:47 PDT 2020
Author: Louis Dionne
Date: 2020-03-17T16:49:56-04:00
New Revision: 1458bb92dffa87f8a2faa546c36f935ddffaa34f
URL: https://github.com/llvm/llvm-project/commit/1458bb92dffa87f8a2faa546c36f935ddffaa34f
DIFF: https://github.com/llvm/llvm-project/commit/1458bb92dffa87f8a2faa546c36f935ddffaa34f.diff
LOG: [lit] NFC: Fix typo in log statement
Added:
Modified:
llvm/utils/lit/lit/main.py
llvm/utils/lit/tests/selecting.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/lit/main.py b/llvm/utils/lit/lit/main.py
index 0f0c76bb6bff..c530d3485ffb 100755
--- a/llvm/utils/lit/lit/main.py
+++ b/llvm/utils/lit/lit/main.py
@@ -40,7 +40,7 @@ def main(builtin_params={}):
discovered_tests = lit.discovery.find_tests_for_inputs(lit_config, opts.test_paths)
if not discovered_tests:
- sys.stderr.write('error: did not disover any tests for provided path(s)\n')
+ sys.stderr.write('error: did not discover any tests for provided path(s)\n')
sys.exit(2)
# Command line overrides configuration for maxIndividualTestTime.
diff --git a/llvm/utils/lit/tests/selecting.py b/llvm/utils/lit/tests/selecting.py
index 9340b7db37ed..f5adb3228ea8 100644
--- a/llvm/utils/lit/tests/selecting.py
+++ b/llvm/utils/lit/tests/selecting.py
@@ -6,7 +6,7 @@
#
# RUN: not %{lit} %{inputs}/nonexistent 2>&1 | FileCheck --check-prefix=CHECK-BAD-PATH %s
# RUN: not %{lit} %{inputs}/nonexistent --allow-empty-runs 2>&1 | FileCheck --check-prefix=CHECK-BAD-PATH %s
-# CHECK-BAD-PATH: error: did not disover any tests for provided path(s)
+# CHECK-BAD-PATH: error: did not discover any tests for provided path(s)
# Check that we exit with an error if we filter out all tests, but allow it with --allow-empty-runs.
#
More information about the llvm-commits
mailing list