Debian Codegraph @

openmp/tools/omptest/test/lit.cfg

raw
1 # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
2 # Configuration file for the 'lit' test runner.
3
4 import os
5 import lit.formats
6
7 # Tell pylint that we know config and lit_config exist somewhere.
8 if 'PYLINT_IMPORT' in os.environ:
9 config = object()
10 lit_config = object()
11
12 # name: The name of this test suite.
13 config.name = 'OMPT ompTest'
14
15 # suffixes: A list of file extensions to treat as test files.
16 config.suffixes = ['']
17
18 # test_source_root: The root path where tests are located.
19 config.test_source_root = config.test_obj_root
20
21 # test_exec_root: The root object directory where output is placed
22 config.test_exec_root = config.test_obj_root
23
24 # test format, match (omptest-)unittests
25 # Matched binaries (GoogleTests) are executed
26 config.test_format = lit.formats.GoogleTest(".", "unittests")