xref: /llvm-project/libunwind/test/lit.cfg.py (revision eeb931641ae735faa25283ddb2465318302e864f)
1c55051eeSLouis Dionne# All the Lit configuration is handled in the site configs -- this file is only
2c55051eeSLouis Dionne# left as a canary to catch invocations of Lit that do not go through llvm-lit.
3c55051eeSLouis Dionne#
4c55051eeSLouis Dionne# Invocations that go through llvm-lit will automatically use the right Lit
5c55051eeSLouis Dionne# site configuration inside the build directory.
6c55051eeSLouis Dionne
7c55051eeSLouis Dionnelit_config.fatal(
8c55051eeSLouis Dionne    "You seem to be running Lit directly -- you should be running Lit through "
9c55051eeSLouis 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 libunwind tests."
127bfaa0f0STobias Hieta)
13