aboutsummaryrefslogtreecommitdiff
path: root/libcxx/test/lit.cfg.py
blob: bb055268774790bc9337dbfc787529e3afcc7899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# All the Lit configuration is handled in the site configs -- this file is only
# left as a canary to catch invocations of Lit that do not go through llvm-lit.
#
# Invocations that go through llvm-lit will automatically use the right Lit
# site configuration inside the build directory.

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. See https://libcxx.llvm.org/TestingLibcxx.html#usage for "
    "how to run the libc++ tests."
)