diff options
Diffstat (limited to 'numbench/main.py')
-rw-r--r-- | numbench/main.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numbench/main.py b/numbench/main.py index 6e9fb2c..acfe6d7 100644 --- a/numbench/main.py +++ b/numbench/main.py @@ -238,6 +238,10 @@ for tn,(name,test) in enumerate(cfg.tests.items(),1): # Save the results report.saveReport() +# Clean up the directories +if cfg.clean: + bu.rmdir(cfg.testsdir) + bu.rmdir(cfg.rootsdir) # TODO: reintroduce the instructions feature (and remove "exit) |