xref: /llvm-project/libcxxabi/test/lit.cfg.py (revision eeb931641ae735faa25283ddb2465318302e864f)
133c9c10dSLouis Dionne# All the Lit configuration is handled in the site configs -- this file is only
233c9c10dSLouis Dionne# left as a canary to catch invocations of Lit that do not go through llvm-lit.
333c9c10dSLouis Dionne#
433c9c10dSLouis Dionne# Invocations that go through llvm-lit will automatically use the right Lit
533c9c10dSLouis Dionne# site configuration inside the build directory.
633c9c10dSLouis Dionne
733c9c10dSLouis Dionnelit_config.fatal(
833c9c10dSLouis Dionne    "You seem to be running Lit directly -- you should be running Lit through "
933c9c10dSLouis Dionne    "<build>/bin/llvm-lit, which will ensure that the right Lit configuration "
10*eeb93164SLouis Dionne    "file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
11*eeb93164SLouis Dionne    "how to run the libc++abi tests."
127bfaa0f0STobias Hieta)
13