13 lines · python
1# All the Lit configuration is handled in the site configs -- this file is only2# left as a canary to catch invocations of Lit that do not go through llvm-lit.3#4# Invocations that go through llvm-lit will automatically use the right Lit5# site configuration inside the build directory.6 7lit_config.fatal(8 "You seem to be running Lit directly -- you should be running Lit through "9 "<build>/bin/llvm-lit, which will ensure that the right Lit configuration "10 "file is used. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "11 "how to run the libc++ tests."12)13