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