diff options
Diffstat (limited to 'yarn')
-rwxr-xr-x | yarn | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -260,6 +260,9 @@ class YarnRunner(cliapp.Application): ok = scenario_runner.run_scenario(scenario, datadir, homedir) self.remember_scenario_timing(time.time() - started) + + if not self.settings['snapshot']: + shutil.rmtree(datadir, ignore_errors=True) return ok def homedir(self, datadir): |