Skip to content

Commit eeb9316

Browse files
committed
[runtimes][NFC] Improve error message when running Lit incorrectly
1 parent a54704d commit eeb9316

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

libcxx/test/lit.cfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
lit_config.fatal(
88
"You seem to be running Lit directly -- you should be running Lit through "
99
"<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
10-
"file is used."
10+
"file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
11+
"how to run the libc++ tests."
1112
)

libcxxabi/test/lit.cfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
lit_config.fatal(
88
"You seem to be running Lit directly -- you should be running Lit through "
99
"<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
10-
"file is used."
10+
"file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
11+
"how to run the libc++abi tests."
1112
)

libunwind/test/lit.cfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
lit_config.fatal(
88
"You seem to be running Lit directly -- you should be running Lit through "
99
"<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
10-
"file is used."
10+
"file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
11+
"how to run the libunwind tests."
1112
)

0 commit comments

Comments
 (0)