mirror of
https://github.com/mandiant/capa.git
synced 2025-12-23 07:28:34 -08:00
fix test xfail
This commit is contained in:
@@ -23,10 +23,10 @@ def test_smda_features(sample, scope, feature, expected):
|
|||||||
if scope.__name__ == "file" and isinstance(feature, capa.features.file.FunctionName) and expected is True:
|
if scope.__name__ == "file" and isinstance(feature, capa.features.file.FunctionName) and expected is True:
|
||||||
pytest.xfail("SMDA has no function ID")
|
pytest.xfail("SMDA has no function ID")
|
||||||
|
|
||||||
if sample == "a1982..." and sys.platform == "win32":
|
if "a198216798ca38f280dc413f8c57f2c2" in sample and sys.platform == "win32":
|
||||||
pytest.xfail("SMDA bug tracked #585")
|
pytest.xfail("SMDA bug tracked #585")
|
||||||
|
|
||||||
if sample == "al-khaser x64" and sys.platform == "win32":
|
if "al-khaser_x64" in sample and sys.platform == "win32":
|
||||||
pytest.xfail("SMDA bug tracked #585")
|
pytest.xfail("SMDA bug tracked #585")
|
||||||
|
|
||||||
do_test_feature_presence(get_smda_extractor, sample, scope, feature, expected)
|
do_test_feature_presence(get_smda_extractor, sample, scope, feature, expected)
|
||||||
|
|||||||
Reference in New Issue
Block a user