Skip to content

Commit

Permalink
[runtimes][NFC] Improve error message when running Lit incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Jun 26, 2024
1 parent a54704d commit eeb9316
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion libcxx/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
lit_config.fatal(
"You seem to be running Lit directly -- you should be running Lit through "
"<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
"file is used."
"file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
"how to run the libc++ tests."
)
3 changes: 2 additions & 1 deletion libcxxabi/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
lit_config.fatal(
"You seem to be running Lit directly -- you should be running Lit through "
"<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
"file is used."
"file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
"how to run the libc++abi tests."
)
3 changes: 2 additions & 1 deletion libunwind/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
lit_config.fatal(
"You seem to be running Lit directly -- you should be running Lit through "
"<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
"file is used."
"file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
"how to run the libunwind tests."
)

0 comments on commit eeb9316

Please sign in to comment.