From f1df29d27e6813ccc82987d09421ba09c68192b3 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Wed, 18 Aug 2021 14:08:36 -0600 Subject: [PATCH] tests: xfail smda ELF API waiting for #725 --- tests/test_smda_features.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_smda_features.py b/tests/test_smda_features.py index 6614c24d..a868dbb9 100644 --- a/tests/test_smda_features.py +++ b/tests/test_smda_features.py @@ -11,6 +11,7 @@ from fixtures import * from fixtures import parametrize import capa.features.file +import capa.features.insn @parametrize( @@ -22,6 +23,9 @@ def test_smda_features(sample, scope, feature, expected): if scope.__name__ == "file" and isinstance(feature, capa.features.file.FunctionName) and expected is True: pytest.xfail("SMDA has no function ID") + if "elf" in sample and isinstance(feature, capa.features.insn.API): + pytest.xfail("SMDA has no ELF API extraction, see #725") + fixtures.do_test_feature_presence(fixtures.get_smda_extractor, sample, scope, feature, expected)