forked from Imagelibrary/littlefs
scripts: Fixed case-level flags in bench.py
A typo meant we were setting all case-level flags to suite-level flags in bench.py. And because suite-level flags are more-or-less just ored case-level flags, all case-level flags would end up shared. Fixed via untypo.
This commit is contained in:
@@ -512,7 +512,7 @@ def compile(bench_paths, **args):
|
||||
f.writeln(12*' '+'.path = "%s",' % case.path)
|
||||
f.writeln(12*' '+'.flags = %s,' % (
|
||||
' | '.join(filter(None, [
|
||||
'BENCH_INTERNAL' if suite.internal
|
||||
'BENCH_INTERNAL' if case.internal
|
||||
else None]))
|
||||
or 0))
|
||||
for ifdef in it.chain(suite.ifdef, case.ifdef):
|
||||
|
||||
Reference in New Issue
Block a user