blob: c38fd8ffdd18a41bfbc7cf9201a632abb02753f6 [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' ]:
Baptiste Lepilleur7dec64f2009-11-21 18:20:25 +00007 paths += glob.glob( 'data/' + pattern )
Christopher Dunnf9864232007-06-14 21:01:26 +00008
9for path in paths:
10 os.unlink( path )