Exemple #1
0
def testfolderdriver():
    """fixture for running tests in the test folder of
    the systemc-clang"""
    root_folder = os.environ[
        'SYSTEMC_CLANG_BUILD_DIR'] + '../systemc-clang/tests/'
    conf = TestingConfigurations(root_folder=root_folder,
                                 golden_folder=[],
                                 header_folders=[])
    testfolder_driver = drv.SystemCClangDriver(conf)
    return testfolder_driver
Exemple #2
0
def sanitydriver():
    """fixture for sanity test driver"""
    conf = SanityTestingConfigurations()
    sanity_driver = drv.SystemCClangDriver(conf)
    return sanity_driver
Exemple #3
0
def llnldriver():
    """fixture for llnl example driver"""
    conf = LLNLExampleTestingConfigurations()
    llnl_driver = drv.SystemCClangDriver(conf)
    return llnl_driver
Exemple #4
0
def exdriver(request):
    """fixture for ex_* examples driver"""
    conf = ExampleTestingConfigurations(request.param)
    ex_driver = drv.SystemCClangDriver(conf)
    return ex_driver
Exemple #5
0
def customdriver(request):
    """fixture for custom test driver"""
    conf = CustomTestingConfigurations(request.param)
    custom_driver = drv.SystemCClangDriver(conf)
    return custom_driver