Skip to content

Commit de5aa3f

Browse files
authored
lit.cfg: fix test subset error message (#82806)
Currently when test subset is not specified, `lit.cfg` provides an error message that refers to test modes instead of tests subsets. Making error messages distinct makes it easier to backtrack in lit.cfg source code when diagnosing the root cause.
1 parent d9b0b9e commit de5aa3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ elif swift_test_subset == 'only_stress':
994994
config.limit_to_features.add("stress_test")
995995
config.limit_to_features.discard("executable_test")
996996
else:
997-
lit_config.fatal("Unknown test mode %r" % swift_test_subset)
997+
lit_config.fatal("Unknown test subset %r" % swift_test_subset)
998998

999999
if 'swift_evolve' in lit_config.params:
10001000
config.available_features.add("swift_evolve")

0 commit comments

Comments
 (0)