Skip to content

Commit b08c66e

Browse files
committed
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.
1 parent 007ac97 commit b08c66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def write_case_functions(f, suite, case):
512512
f.writeln(12*' '+'.path = "%s",' % case.path)
513513
f.writeln(12*' '+'.flags = %s,' % (
514514
' | '.join(filter(None, [
515-
'BENCH_INTERNAL' if suite.internal
515+
'BENCH_INTERNAL' if case.internal
516516
else None]))
517517
or 0))
518518
for ifdef in it.chain(suite.ifdef, case.ifdef):

0 commit comments

Comments
 (0)