Home
last modified time | relevance | path

Searched full:coverage (Results 1 – 25 of 154) sorted by relevance

1234567

/openbmc/u-boot/tools/patman/
H A Dtest_util.py20 """Run tests and check that we get 100% coverage
28 exclude_list: List of file patterns to exclude from the coverage
31 required: List of modules which must be in the coverage report
34 ValueError if the code coverage is not 100%
45 cmd = ('PYTHONPATH=$PYTHONPATH:%s/sandbox_spl/tools python-coverage run '
48 stdout = command.Output('python-coverage', 'report')
61 coverage = lines[-1].split(' ')[-1]
63 print coverage
64 if coverage != '100%':
66 print ("Type 'python-coverage html' to get a report in "
[all …]
/openbmc/libmctp/docs/
H A Dfuzzing.md55 ## Coverage section in Fuzzing libmctp
57 The coverage provided by a corpus directory can be reported using
58 `tests/fuzz/fuzz-coverage.py`.
62 - Run a binary compiled with `--coverage` against each corpus file
63 - Use [grcov](https://github.com/mozilla/grcov) to aggregate the coverage traces
70 ./tests/fuzz/fuzz-coverage.py fuzzrun/corpus bnoopt/tests/fuzz/i2c-fuzz . bnoopt/ coverage-output
/openbmc/phosphor-webui/
H A Dkarma.conf.js15 // Reference: https://github.com/karma-runner/karma-coverage
16 // Output code coverage files
17 'coverage'
39 // Configure code coverage reporter
41 {dir: 'coverage/', reporters: [{type: 'text-summary'}, {type: 'html'}]},
/openbmc/u-boot/test/
H A Drun49 # This needs you to set up Python test coverage tools.
50 # To enable Python test coverage on Debian-type distributions (e.g. Ubuntu):
51 # $ sudo apt-get install python-pytest python-coverage
52 run_test "binman code coverage" ./tools/binman/binman -T
53 run_test "dtoc code coverage" ./tools/dtoc/dtoc -T
54 run_test "fdt code coverage" ./tools/dtoc/test_fdt -T
/openbmc/libpldm/docs/
H A Dfuzzing.md70 ## Coverage section in Fuzzing libpldm
72 The coverage provided by a corpus directory can be reported using
73 `tests/fuzz/fuzz-coverage.py`.
77 - Run a binary compiled with `--coverage` against each corpus file
78 - Use [grcov](https://github.com/mozilla/grcov) to aggregate the coverage traces
85 ./tests/fuzz/fuzz-coverage.py fuzzrun/corpus bnoopt/tests/fuzz/fd-fuzz . bnoopt/ coverage-output
/openbmc/qemu/python/
H A DMakefile116 .PHONY: check-coverage
117 check-coverage:
118 @coverage run -m avocado --config avocado.cfg run tests/*.py
119 @coverage combine
120 @coverage html
121 @coverage report
132 rm -f .coverage .coverage.*
H A D.gitignore19 # Coverage.py reports
20 .coverage
21 .coverage.*
/openbmc/openpower-inventory-upload/
H A D.gitignore37 # Unit test / coverage reports
40 .coverage
41 .coverage.*
44 coverage.xml
/openbmc/qemu/scripts/ci/
H A Dcoverage-summary.sh5 # Summerise the state of code coverage with gcovr and tweak the output
9 # directly. See also "make coverage-report"
14 # first generate the coverage report
26 # and dump, stripping out 0% coverage
/openbmc/qemu/scripts/coverage/
H A Dcompare_gcov_json.py7 # - run make coverage-html in each
9 # --print-summary -o coverage.json --root ../../ . *.p
24 description='analyse the differences in coverage between two runs')
64 # if this file has any coverage add it to the system
109 print(f"{b_name} missing coverage in {len(first_missing)} files")
113 print(f"{a_name} missing coverage in {len(second_missing)} files")
/openbmc/pyphosphor/
H A D.gitignore59 # Unit test / coverage reports
62 .coverage
63 .coverage.*
66 coverage.xml
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/suitesparse/suitesparse/
H A D0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch27 SET(CMAKE_CXX_FLAGS_DEBUG "--coverage -g -fwrapv")
28 SET(CMAKE_C_FLAGS_DEBUG "--coverage -g")
29 SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "--coverage -g")
38 SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fprofile-arcs -ftest-coverage")
/openbmc/libpldm/tests/fuzz/
H A Dfuzz-coverage.py4 # usage: fuzz-coverage.py [-h] corpus program srcdir builddir outdir
7 # built with coverage, and produces a html report.
9 # The program should be built with --coverage -fprofile-abs-path
25 print(f"Removed old coverage {c}", file=sys.stderr)
/openbmc/libmctp/tests/fuzz/
H A Dfuzz-coverage.py4 # usage: fuzz-coverage.py [-h] corpus program srcdir builddir outdir
7 # built with coverage, and produces a html report.
9 # The program should be built with --coverage -fprofile-abs-path
25 print(f"Removed old coverage {c}", file=sys.stderr)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/
H A D0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch25 # the coverage of several test cases.
70 # Merge mce serverity coverage file from several test cases. This can
71 # be used to check the coverage of several test cases.
99 - print 'Usage: %s <severities coverage files>' % (sys.argv[0])
100 + print('Usage: %s <severities coverage files>' % (sys.argv[0]))
/openbmc/openbmc/meta-raspberrypi/docs/
H A DMakefile44 @echo " coverage to run coverage check of the documentation (if enabled)"
203 .PHONY: coverage
204 coverage: target
205 $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
206 @echo "Testing of coverage in the sources finished, look at the " \
207 "results in $(BUILDDIR)/coverage/python.txt."
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pytest-cov_6.0.0.bb1 SUMMARY = "Pytest plugin for measuring coverage."
13 RDEPENDS:${PN} += "python3-coverage python3-pytest"
H A Dpython3-coverage_7.8.0.bb1 SUMMARY = "Code coverage measurement for Python"
2 HOMEPAGE = "https://coverage.readthedocs.io"
/openbmc/openpower-host-ipmi-flash/
H A D.gitignore4 # Code Coverage
8 *-coverage*
/openbmc/openpower-sbe-interface/
H A D.gitignore4 # Code Coverage
8 *-coverage*
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lcov/
H A Dlcov_1.16.bb3 DESCRIPTION = "LCOV is a graphical front-end for GCC's coverage testing \
5 HTML pages containing the source code annotated with coverage information. \
7 LCOV supports statement, function and branch coverage measurement."
/openbmc/pam-ipmi/
H A D.gitignore4 # Code Coverage
8 *-coverage*
/openbmc/qemu/scripts/oss-fuzz/
H A Dinstrumentation-filter-template9 # We don't care about coverage over fuzzer-specific code, however we should
11 # coverage - otherwise it will exit after the first input
/openbmc/phosphor-host-ipmid/
H A DREADME.md35 ## Generate test coverage report
40 ninja -C builddir coverage
/openbmc/sdbusplus/
H A D.gitignore48 # Unit test / coverage reports
52 .coverage
53 .coverage.*
56 coverage.xml

1234567