[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / bolt / test / Unit / lit.cfg.py
blobe62ffe7f42bedad0b579f2b5c10c9f3d8464da3d
1 # -*- Python -*-
3 # Configuration file for the 'lit' test runner.
5 import os
6 import subprocess
8 import lit.formats
10 # name: The name of this test suite.
11 config.name = "BOLT-Unit"
13 # suffixes: A list of file extensions to treat as test files.
14 config.suffixes = []
16 # test_source_root: The root path where tests are located.
17 # test_exec_root: The root path where tests should be run.
18 config.test_exec_root = os.path.join(config.bolt_obj_root, "unittests")
19 config.test_source_root = config.test_exec_root
21 # testFormat: The test format to use to interpret tests.
22 config.test_format = lit.formats.GoogleTest(config.llvm_build_mode, "Tests")