1# -*- Python -*- 2 3# Configuration file for the 'lit' test runner. 4 5import os 6import subprocess 7 8import lit.formats 9 10# name: The name of this test suite. 11config.name = "BOLT-Unit" 12 13# suffixes: A list of file extensions to treat as test files. 14config.suffixes = [] 15 16# test_source_root: The root path where tests are located. 17# test_exec_root: The root path where tests should be run. 18config.test_exec_root = os.path.join(config.bolt_obj_root, "unittests") 19config.test_source_root = config.test_exec_root 20 21# testFormat: The test format to use to interpret tests. 22config.test_format = lit.formats.GoogleTest(config.llvm_build_mode, "Tests") 23