tests: save .viv by default, hopefully improve test performance

This commit is contained in:
William Ballenthin
2021-06-15 12:24:29 -06:00
parent 7f03db9fe4
commit 09ad0ec184

View File

@@ -84,6 +84,7 @@ def get_viv_extractor(path):
vw = capa.main.get_workspace(path, "sc64", sigpaths=sigpaths)
else:
vw = capa.main.get_workspace(path, "auto", sigpaths=sigpaths)
vw.saveWorkspace()
extractor = capa.features.extractors.viv.extractor.VivisectFeatureExtractor(vw, path)
fixup_viv(path, extractor)
return extractor