[lit] NFC: Fix typo in log statement

This commit is contained in:
Louis Dionne 2020-03-17 16:49:56 -04:00
parent 83989e6941
commit 1458bb92df
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.
#