diff --git a/scripts/lib/mlkem_test.py b/scripts/lib/mlkem_test.py index d935e0b1c..febd82e18 100644 --- a/scripts/lib/mlkem_test.py +++ b/scripts/lib/mlkem_test.py @@ -602,11 +602,7 @@ def bench( output = False if mac_taskpolicy: - if exec_wrapper: - logging.error(f"cannot set both --mac-taskpolicy and --exec-wrapper") - sys.exit(1) - else: - exec_wrapper = f"taskpolicy -c {mac_taskpolicy}" + self.cmd_prefix.append(f"taskpolicy -c {mac_taskpolicy}") # NOTE: We haven't yet decided how to output both opt/no-opt benchmark results if self.opt.lower() == "all":