Gitiles
Code Review
Sign In
gerrit.openfyde.cn
/
chromium.googlesource.com
/
external
/
github.com
/
open-source-parsers
/
jsoncpp
/
b383fdc61e6e93b8df9dad042675c1e152e3669a
/
.
/
test
/
cleantests.py
blob: 1a4f1f1f308f0ecd3c32ea57f9500b21268e88a5 [
file
] [
log
] [
blame
]
# removes all files created during testing
import
glob
import
os
paths
=
[]
for
pattern
in
[
'*.actual'
,
'*.actual-rewrite'
,
'*.rewrite'
,
'*.process-output'
]:
paths
+=
glob
.
glob
(
'data/'
+
pattern
)
for
path
in
paths
:
os
.
unlink
(
path
)