report: Fix heuristic for default set of measurements

Need to look at the results in `before`, not the filename in
`args.before`.

Fixes: ebe49201 "report: Stop hard-coding the default set of measurements."
Tested-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
parent cca32763
......@@ -157,8 +157,8 @@ def main():
if not args.measurements:
args.measurements = []
for p in args.before:
for m in args.before[p]:
for p in before:
for m in before[p]:
args.measurements.append(m)
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment