| 1 |
# -*- Python -*- |
| 2 |
|
| 3 |
# Configuration file for the 'lit' test runner. |
| 4 |
|
| 5 |
import os |
| 6 |
import subprocess |
| 7 |
|
| 8 |
import lit.formats |
| 9 |
|
| 10 |
# name: The name of this test suite. |
| 11 |
config.name = "OpenMP-Unit" |
| 12 |
|
| 13 |
# suffixes: A list of file extensions to treat as test files. |
| 14 |
config.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. |
| 18 |
config.test_exec_root = config.openmp_unittests_dir |
| 19 |
config.test_source_root = config.test_exec_root |
| 20 |
|
| 21 |
# testFormat: The test format to use to interpret tests. |
| 22 |
config.test_format = lit.formats.GoogleTest(config.llvm_build_mode, "Tests") |