Skip to content

Commit

Permalink
Merge pull request pq-code-package#657 from pq-code-package/test_opt_fix
Browse files Browse the repository at this point in the history
Fix `tests bench [--opt=ALL]` so it runs opt and non-opt benchmarks
  • Loading branch information
mkannwischer authored Jan 14, 2025
2 parents a08df02 + e05e7ce commit 8383b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tests
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class Tests:
return [f"-j{self.args.j}"]

def do_opt_all(self):
return self.args.opt.lower() == ["all"]
return self.args.opt.lower() == "all"

def do_opt(self):
return self.args.opt.lower() in ["all", "opt"]
Expand Down

0 comments on commit 8383b16

Please sign in to comment.