Changeset View
Changeset View
Standalone View
Standalone View
cmake/utils/filter-lcov.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2020 The Bitcoin developers | |||||
# Distributed under the MIT software license, see the accompanying | |||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
import argparse | import argparse | ||||
parser = argparse.ArgumentParser( | parser = argparse.ArgumentParser( | ||||
description='Remove the coverage data from a tracefile for all files matching the pattern.') | description='Remove the coverage data from a tracefile for all files matching the pattern.') | ||||
parser.add_argument('--pattern', '-p', action='append', | parser.add_argument('--pattern', '-p', action='append', | ||||
help='the pattern of files to remove', required=True) | help='the pattern of files to remove', required=True) | ||||
parser.add_argument( | parser.add_argument( | ||||
Show All 19 Lines |