| # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79: |
| # Configuration file for the 'lit' test runner. |
| |
| import os |
| import lit.formats |
| |
| # Tell pylint that we know config and lit_config exist somewhere. |
| if 'PYLINT_IMPORT' in os.environ: |
| config = object() |
| lit_config = object() |
| |
| # name: The name of this test suite. |
| config.name = 'OMPT ompTest' |
| |
| # suffixes: A list of file extensions to treat as test files. |
| config.suffixes = [''] |
| |
| # test_source_root: The root path where tests are located. |
| config.test_source_root = config.test_obj_root |
| |
| # test_exec_root: The root object directory where output is placed |
| config.test_exec_root = config.test_obj_root |
| |
| # test format, match (omptest-)unittests |
| # Matched binaries (GoogleTests) are executed |
| config.test_format = lit.formats.GoogleTest(".", "unittests") |