blob: 1a4f1f1f308f0ecd3c32ea57f9500b21268e88a5 [file] [log] [blame]
Christopher Dunnf9864232007-06-14 21:01:26 +00001# removes all files created during testing
2import glob
3import os
4
5paths = []
6for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]:
Christopher Dunn494950a2015-01-24 15:29:52 -06007 paths += glob.glob('data/' + pattern)
Christopher Dunnf9864232007-06-14 21:01:26 +00008
9for path in paths:
Christopher Dunn494950a2015-01-24 15:29:52 -060010 os.unlink(path)