[lit] NFC: Fix typo in log statement
This commit is contained in:
parent
83989e6941
commit
1458bb92df
@ -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.
|
||||
|
||||
@ -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.
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user