@ -40,11 +40,13 @@ local phase_names = utils.invert(blueprint.valid_phases)
-- inspection of failed results)
local function test_wrapper(test_fn)
local outdir = blueprints_dir .. output_dir
if dfhack.filesystem.exists(outdir) then
for _, v in ipairs(dfhack.filesystem.listdir_recursive(outdir)) do
if not v.isdir then
os.remove(v.path)
end
test_fn()
config.wrapper = test_wrapper