Skip to content
Snippets Groups Projects
Commit c36a2b00 authored by Florian Fischer's avatar Florian Fischer
Browse files

abort if there are no allocators to benchmark

parent fa133027
Branches
Tags
No related merge requests found
...@@ -121,6 +121,10 @@ def main(): ...@@ -121,6 +121,10 @@ def main():
print_info("Allocators:", *src.globalvars.allocators.keys()) print_info("Allocators:", *src.globalvars.allocators.keys())
print_debug("Allocators:", *src.globalvars.allocators.items()) print_debug("Allocators:", *src.globalvars.allocators.items())
if src.globalvars.allocators == {}:
print_error("Abort because there are no allocators to benchmark")
exit(1)
# collect facts about benchmark environment # collect facts about benchmark environment
src.facter.collect_facts() src.facter.collect_facts()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment