aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
authorFlorian Fischer <muhq@muhq.space>2019-03-19 00:53:01 +0100
committerFlorian Fischer <muhq@muhq.space>2019-03-19 00:53:01 +0100
commite37d42d9f01bece5f3a451cca7ffc435c66e0fb6 (patch)
tree2ac5656e5db05a818ed8db52cd460e8a88195c94 /bench.py
parent56be2bcb517d3830e8d43265faf511623845b5e2 (diff)
downloadallocbench-e37d42d9f01bece5f3a451cca7ffc435c66e0fb6.tar.gz
allocbench-e37d42d9f01bece5f3a451cca7ffc435c66e0fb6.zip
collect facts on demand
this fixes a exception because of the missing ccinfo file when src.facter is imported before the build of allocbench
Diffstat (limited to 'bench.py')
-rwxr-xr-xbench.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bench.py b/bench.py
index 6e36d5b..bbea7c3 100755
--- a/bench.py
+++ b/bench.py
@@ -77,6 +77,9 @@ def main():
subprocess.run(make_cmd)
+ # collect facts
+ src.facter.collect_facts()
+
# Default allocator definition file
allocators_file = os.path.join("build", "allocators", "allocators.py")