Skip to content

Commit bc47417

Browse files
authored
Fix failure when benchmarks in config starts with minus. (#112)
1 parent 2b382e6 commit bc47417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyperformance/compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def run_benchmark(self):
516516
if self.options.inherit_environ:
517517
cmd.append('--inherit-environ=%s' % ','.join(self.options.inherit_environ))
518518
if self.conf.benchmarks:
519-
cmd.extend(('--benchmarks', self.conf.benchmarks))
519+
cmd.append('--benchmarks=%s' % self.conf.benchmarks)
520520
if self.conf.affinity:
521521
cmd.extend(('--affinity', self.conf.affinity))
522522
if self.conf.venv:

0 commit comments

Comments
 (0)