MCPcopy Create free account
hub / github.com/numpy/numpy / gcov_reset_counters

Function gcov_reset_counters

runtests.py:657–664  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

655# GCOV support
656#
657def gcov_reset_counters():
658 print("Removing previous GCOV .gcda files...")
659 build_dir = os.path.join(ROOT_DIR, 'build')
660 for dirpath, dirnames, filenames in os.walk(build_dir):
661 for fn in filenames:
662 if fn.endswith('.gcda') or fn.endswith('.da'):
663 pth = os.path.join(dirpath, fn)
664 os.unlink(pth)
665
666#
667# LCOV support

Callers 1

mainFunction · 0.85

Calls 3

printFunction · 0.85
endswithMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected