xref: /llvm-project/libcxx/test/lit.cfg.py (revision eeb931641ae735faa25283ddb2465318302e864f)
10c66af97SLouis Dionne# All the Lit configuration is handled in the site configs -- this file is only
20c66af97SLouis Dionne# left as a canary to catch invocations of Lit that do not go through llvm-lit.
30c66af97SLouis Dionne#
40c66af97SLouis Dionne# Invocations that go through llvm-lit will automatically use the right Lit
50c66af97SLouis Dionne# site configuration inside the build directory.
60c66af97SLouis Dionne
70c66af97SLouis Dionnelit_config.fatal(
80c66af97SLouis Dionne    "You seem to be running Lit directly -- you should be running Lit through "
90c66af97SLouis 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++ tests."
127bfaa0f0STobias Hieta)
13