Added an option to run-test.perl to delete empty directories