[libcxx-commits] [libcxx] eeb9316 - [runtimes][NFC] Improve error message when running Lit incorrectly
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 26 13:44:48 PDT 2024
Author: Louis Dionne
Date: 2024-06-26T15:44:28-05:00
New Revision: eeb931641ae735faa25283ddb2465318302e864f
URL: https://github.com/llvm/llvm-project/commit/eeb931641ae735faa25283ddb2465318302e864f
DIFF: https://github.com/llvm/llvm-project/commit/eeb931641ae735faa25283ddb2465318302e864f.diff
LOG: [runtimes][NFC] Improve error message when running Lit incorrectly
Added:
Modified:
libcxx/test/lit.cfg.py
libcxxabi/test/lit.cfg.py
libunwind/test/lit.cfg.py
Removed:
################################################################################
diff --git a/libcxx/test/lit.cfg.py b/libcxx/test/lit.cfg.py
index ea4a9a75b4fdb..bb05526877479 100644
--- a/libcxx/test/lit.cfg.py
+++ b/libcxx/test/lit.cfg.py
@@ -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."
)
diff --git a/libcxxabi/test/lit.cfg.py b/libcxxabi/test/lit.cfg.py
index ea4a9a75b4fdb..fb36c8d4aaa32 100644
--- a/libcxxabi/test/lit.cfg.py
+++ b/libcxxabi/test/lit.cfg.py
@@ -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."
)
diff --git a/libunwind/test/lit.cfg.py b/libunwind/test/lit.cfg.py
index ea4a9a75b4fdb..51e85e489db01 100644
--- a/libunwind/test/lit.cfg.py
+++ b/libunwind/test/lit.cfg.py
@@ -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."
)
More information about the libcxx-commits
mailing list