22 lines · python
1# -*- Python -*-2 3import os4 5import lit.formats6 7# name: The name of this test suite.8config.name = "flang-rt-Unit"9 10# suffixes: A list of file extensions to treat as test files.11config.suffixes = []12 13# test_source_root: The root path where unit test binaries are located.14config.test_source_root = os.path.join(config.flangrt_binary_dir, "unittests")15 16# test_exec_root: The root path where tests should be run.17# lit writes a '.lit_test_times.txt' file into this directory.18config.test_exec_root = config.flang_rt_binary_test_dir19 20# testFormat: The test format to use to interpret tests.21config.test_format = lit.formats.GoogleTest(config.llvm_build_mode, "Tests")22