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
def sanitydriver(): """fixture for sanity test driver""" conf = SanityTestingConfigurations() sanity_driver = drv.SystemCClangDriver(conf) return sanity_driver
def llnldriver(): """fixture for llnl example driver""" conf = LLNLExampleTestingConfigurations() llnl_driver = drv.SystemCClangDriver(conf) return llnl_driver
def exdriver(request): """fixture for ex_* examples driver""" conf = ExampleTestingConfigurations(request.param) ex_driver = drv.SystemCClangDriver(conf) return ex_driver
def customdriver(request): """fixture for custom test driver""" conf = CustomTestingConfigurations(request.param) custom_driver = drv.SystemCClangDriver(conf) return custom_driver