Skip to content
Snippets Groups Projects
Commit 1670c562 authored by Millian Poquet's avatar Millian Poquet
Browse files

[test] use all workloads

parent db85b2c5
No related branches found
No related tags found
No related merge requests found
...@@ -15,11 +15,10 @@ def pytest_generate_tests(metafunc): ...@@ -15,11 +15,10 @@ def pytest_generate_tests(metafunc):
metafunc.parametrize('platform', platforms) metafunc.parametrize('platform', platforms)
if 'workload' in metafunc.fixturenames: if 'workload' in metafunc.fixturenames:
# workload_files = glob.glob('workloads/*.json') workload_files = glob.glob('workloads/*.json')
# workloads = [Workload( workloads = [Workload(
# name=basename(workload_file).replace('.json', ''), name=basename(workload_file).replace('.json', ''),
# filename=workload_file) for workload_file in workload_files] filename=abspath(workload_file)) for workload_file in workload_files]
workloads = [Workload('mixed', abspath('workloads/mixed.json'))]
metafunc.parametrize('workload', workloads) metafunc.parametrize('workload', workloads)
if 'algo' in metafunc.fixturenames: if 'algo' in metafunc.fixturenames:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment