From 959644378346cd654183aaebf7fde72f6890e5ce Mon Sep 17 00:00:00 2001 From: Daniel Salzman Date: Sun, 9 Aug 2026 19:09:23 +0200 Subject: [PATCH] tests-extra: call keymgr keystore test if not ASAN --- tests-extra/tests/dnssec/softhsm/test.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests-extra/tests/dnssec/softhsm/test.py b/tests-extra/tests/dnssec/softhsm/test.py index 4418927c8d..0c74c11db6 100644 --- a/tests-extra/tests/dnssec/softhsm/test.py +++ b/tests-extra/tests/dnssec/softhsm/test.py @@ -59,9 +59,12 @@ key_ids = [key.split()[0] for key in keys.strip().splitlines()] for key_id in key_ids: isset(keys2.has_key(key_id), f"key {key_id} in keys2") -# Run keystore test and benchmark -_, out, _ = Keymgr.run_check(knot1.confile, "keys1", "keystore-test", env=keys1.env()) -isset("PKCS #11" in out, "keystore-test") +# Run keystore test (only with Valgrind due to leaks in Ed25518 Ed448) +if knot1.valgrind: + _, out, _ = Keymgr.run_check(knot1.confile, "keys1", "keystore-test", env=keys1.env()) + isset("PKCS #11" in out, "keystore-test") + +# Run keystore benchmark _, out, _ = Keymgr.run_check(knot1.confile, "keys1", "keystore-bench", "1", "ECDSAP256SHA256", env=keys1.env()) isset("ECDSAP256SHA256" in out, "keystore-bench") -- 2.47.3