Skip to content

Commit 6b606dc

Browse files
committed
ACVP: Allow parameters in EXEC_WRAPPER environment variable
Previously, the value of the environment variable `EXEC_WRAPPER` had to be the name of a binary to be usable with `test/acvp_client.py`. This commit generalizes this to allow a binary name followed by some fixed parameters. Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
1 parent ff935b1 commit 6b606dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/acvp_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Check if we need to use a wrapper for execution (e.g. QEMU)
1717
exec_prefix = os.environ.get("EXEC_WRAPPER", "")
18-
exec_prefix = [exec_prefix] if exec_prefix != "" else []
18+
exec_prefix = exec_prefix.split(" ") if exec_prefix != "" else []
1919

2020
acvp_dir = "test/acvp_data"
2121
acvp_keygen_jsons = [

0 commit comments

Comments
 (0)