Skip to content
Snippets Groups Projects
Commit 619b44b2 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

auto-cases: cover all known benchmarks for each revision

Lets be more complete for now.

We aims at not running everything on everything, but lets have a denser coverage
for now. We don't really have long benchmarks for now.
parent 9e0d8921
No related branches found
No related tags found
No related merge requests found
......@@ -151,13 +151,12 @@
for i in range(size):
h = random.choice(hashes)
variants = list_mercurial_variants(base_dir, h)
compatible_datas = [d for d in datas if compatible_with(base_dir, d, h)]
yield Case(
h,
random.choice(variants),
random.choice(compatible_datas),
random.choice(benchmarks),
)
for v in variants:
for d in datas:
if not compatible_with(base_dir, d, h):
continue
for b in benchmarks:
yield Case(h, v, d, b)
if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment