Skip to content

Commit 94e86c0

Browse files
committed
[benchmark] Call test_opt_levels directly
Simplify the code by removing indirection: After removal of -check-added option, only single function remains.
1 parent 98d6f22 commit 94e86c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

benchmark/scripts/run_smoke_bench

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,10 @@ def main():
8383
argparser.add_argument(
8484
'newbuilddir', nargs=1, type=str,
8585
help='new benchmark build directory')
86-
argparser.set_defaults(func=test_opt_levels)
8786
args = argparser.parse_args()
8887
VERBOSE = args.verbose
8988

90-
return args.func(args)
89+
return test_opt_levels(args)
9190

9291

9392
def test_opt_levels(args):

0 commit comments

Comments
 (0)