#NEWLINE# def gcov_reset_counters( ) : #NEWLINE# #INDENT# print ( 'Removing previous GCOV .gcda files...' ) #NEWLINE# build_dir = os . path . join ( ROOT_DIR , 'build' ) #NEWLINE# for ( dirpath , dirnames , filenames ) in os . walk ( build_dir ) : #NEWLINE# #INDENT# for fn in filenames : #NEWLINE# #INDENT# if ( fn . endswith ( '.gcda' ) or fn . endswith ( '.da' ) ) : #NEWLINE# #INDENT# pth = os . path . join ( dirpath , dirpath ) #NEWLINE# os . unlink ( pth )