Searched full:coverage (Results 1 – 25 of 7300) sorted by relevance
12345678910>>...292
1 …nux-gnu -fsanitize=address -fsanitize-coverage=0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-…2 …itize=address -fsanitize-coverage=edge -fsanitize-coverage=0 %s -### 2>&1 | FileCheck %s --check-p…3 …4-linux-gnu -fsanitize=address %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-04 // CHECK-SANITIZE-COVERAGE-0-NOT: fsanitize-coverage-type5 // CHECK-SANITIZE-COVERAGE-0: -fsanitize=address7 …x-gnu -fsanitize=address -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK…8 …ux-gnu -fsanitize=memory -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK…9 …inux-gnu -fsanitize=leak -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK…10 …gnu -fsanitize=undefined -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK…11 …inux-gnu -fsanitize=bool -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK…[all …]
META-INF/ META-INF/MANIFEST.MF build-data.properties org/jacoco ...
90 # For producing CTS coverage reports.91 # Run "make cts-test-coverage" in the $ANDROID_BUILD_TOP directory.93 cts_api_coverage_exe := $(HOST_OUT_EXECUTABLES)/cts-api-coverage97 coverage_out := $(HOST_OUT)/cts-api-coverage108 napi_text_description := cts/tools/cts-api-coverage/etc/ndk-api.xml117 cts-test-coverage-report := $(coverage_out)/test-coverage.html118 cts-system-api-coverage-report := $(coverage_out)/system-api-coverage.html119 cts-system-api-xml-coverage-report := $(coverage_out)/system-api-coverage.xml120 cts-verifier-coverage-report := $(coverage_out)/verifier-coverage.html121 cts-combined-coverage-report := $(coverage_out)/combined-coverage.html[all …]
1 // Test for direct coverage writing with dlopen.3 // Test normal exit, coverage level 1.4 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %T/libcoverage_android_test_1…5 // RUN: %clangxx_asan -fsanitize-coverage=func -DSO_DIR=\"%device\" %s -o %t7 // RUN: adb shell rm -rf %device/coverage-android8 // RUN: rm -rf %T/coverage-android10 // RUN: adb shell mkdir -p %device/coverage-android/direct11 // RUN: mkdir -p %T/coverage-android/direct12 // RUN: %env_asan_opts=coverage=1:coverage_direct=1:coverage_dir=%device/coverage-android/direct:ve…13 // RUN: adb pull %device/coverage-android/direct %T/coverage-android/direct[all …]
25 * Transition route group coverage represents the percentage of all possible74 …ertion_point(interface_extends:google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage)116 * The list of transition routes and coverage in the transition route group.120 …* repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transit…124 com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition>130 * The list of transition routes and coverage in the transition route group.134 …* repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transit…137 com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition143 * The list of transition routes and coverage in the transition route group.147 …* repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transit…[all …]
25 * Transition route group coverage represents the percentage of all possible74 …n_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage)116 * The list of transition routes and coverage in the transition route group.120 …* repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition tr…124 com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition>130 * The list of transition routes and coverage in the transition route group.134 …* repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition tr…137 com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition143 * The list of transition routes and coverage in the transition route group.147 …* repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition tr…[all …]
15 # coverage support. Also add rules using AX_ADD_AM_MACRO_STATIC; and18 # value of the --enable-code-coverage option, which defaults to being25 # coverage is enabled.42 # clean-local: code-coverage-clean43 # distclean-local: code-coverage-dist-clean45 # This results in a "check-code-coverage" rule being added to any47 # (assuming the module has been configured with --enable-code-coverage).48 # Running `make check-code-coverage` in that directory will run the49 # module's test suite (`make check`) and build a code coverage report81 # Code coverage[all …]
1 // Test for direct coverage writing with dlopen at coverage level 1 to 3.3 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %dynamiclib -fPIC4 // RUN: %clangxx_asan -fsanitize-coverage=func %s %libdl -o %t6 // RUN: rm -rf %T/coverage-direct8 // RUN: mkdir -p %T/coverage-direct/normal9 // RUN: %env_asan_opts=coverage=1:coverage_direct=0:coverage_dir=%T/coverage-direct/normal:verbosit…10 // RUN: %sancov print %T/coverage-direct/normal/*.sancov >%T/coverage-direct/normal/out.txt12 // RUN: mkdir -p %T/coverage-direct/direct13 // RUN: %env_asan_opts=coverage=1:coverage_direct=1:coverage_dir=%T/coverage-direct/direct:verbosit…14 // RUN: cd %T/coverage-direct/direct[all …]
23 <Coverage index="0">27 </Coverage>28 <Coverage index="1">34 </Coverage>35 <Coverage index="2">39 </Coverage>116 <Coverage>118 </Coverage>128 <Coverage>130 </Coverage>[all …]
11 Sanitizer tools have a very simple code coverage tool built in. It allows to12 get function-level, basic-block-level, and edge-level coverage at a very low23 * ``-fsanitize-coverage=func`` for function-level coverage (very fast).24 * ``-fsanitize-coverage=bb`` for basic-block-level coverage (may add up to 30%26 * ``-fsanitize-coverage=edge`` for edge-level coverage (up to 40% slowdown).28 You may also specify ``-fsanitize-coverage=indirect-calls`` for29 additional `caller-callee coverage`_.31 At run time, pass ``coverage=1`` in ``ASAN_OPTIONS``,33 appropriate. For the standalone coverage mode, use ``UBSAN_OPTIONS``.35 To get `Coverage counters`_, add ``-fsanitize-coverage=8bit-counters``[all …]
17 package com.android.tradefed.testtype.coverage;27 /** Tradefed object to hold coverage options. */31 name = "coverage",33 "Collect code coverage for this test run. Note that the build under test must be a "34 + "coverage build or else this will fail."39 name = "coverage-toolchain",41 "The coverage toolchains that were used to compile the coverage build to "42 + "collect coverage from."54 name = "coverage-flush",55 description = "Forces coverage data to be flushed at the end of the test."[all …]
26 fileA = "coverage/file/a"27 fileB = "coverage/file/b"28 fileC = "coverage/file/c"29 fileD = "coverage/file/c"51 t.Log("Add 'b' with the coverage [0,1]")52 tree.Add(cov.Path{"a", "b"}, coverage(fileA, span0, span1))63 t.Log("Add 'i' with the coverage [0,1]")64 tree.Add(cov.Path{"a", "b", "d", "i"}, coverage(fileA, span0, span1))78 t.Log("Add 'e' with the coverage [0,1,2]")79 tree.Add(cov.Path{"a", "b", "e"}, coverage(fileA, span0, span1, span2))[all …]
15 # coverage support. Also defines CODE_COVERAGE_RULES which should be19 # --enable-code-coverage option, which defaults to being disabled.25 # coverage is enabled.41 # This results in a "check-code-coverage" rule being added to any43 # has been configured with --enable-code-coverage). Running `make44 # check-code-coverage` in that directory will run the module's test suite45 # (`make check`) and build a code coverage report detailing the code which83 dnl Check for --enable-code-coverage88 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],92 AC_MSG_CHECKING([whether to build with code coverage support])[all …]
1 ## Native Code Coverage for Android6 coverage for C++ and Rust code on the Android platform.8 ## Building with Native Code Coverage Instrumentation10 Identify the paths where native code-coverage instrumentation should be enabled15 export NATIVE_COVERAGE_PATHS="<paths-to-instrument-for-coverage>"19 under these paths is instrumented for code-coverage. E.g:27 - Native Code coverage is not supported for host modules or `Android.mk`29 - `NATIVE_COVERAGE_PATHS="*"` enables coverage instrumentation for all paths.31 coverage instrumentation for a module. This is useful if this module has32 issues when building or running with coverage.[all …]
60 type coverage struct { struct63 // Whether binaries containing this module need --coverage added to their ldflags67 func (cov *coverage) props() []interface{} { argument93 func (cov *coverage) deps(ctx DepsContext, deps Deps) Deps { argument109 func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags, PathDeps) { argument122 flags.Local.CommonFlags = append(flags.Local.CommonFlags, "--coverage", "-O0")131 // coverage instrumentation.137 // http://b/248022906, http://b/247941801 enabling coverage and hwasan-globals145 // Even if we don't have coverage enabled, if any of our object files were compiled146 // with coverage, then we need to add --coverage to our ldflags.[all …]
65 TempDir string // Directory for temporary log files, coverage output.82 Coverage *cov.Tree member92 Coverage *cov.Coverage member233 out.Coverage = &cov.Tree{}234 out.Coverage.Add(cov.Path{}, c.CoverageEnv.AllSourceFiles())252 if r.Coverage != nil {254 out.Coverage.Add(cov.Path(path), r.Coverage)255 r.Coverage = nil // Free memory277 …// If you compile SwiftShader with gcc and the --coverage flag, the build will contain coverage in…278 // We can use this to get the code coverage of SwiftShader from running dEQP.[all …]
5 // Package cfile implements management of coverage files.6 // It provides functionality exported in runtime/coverage as well as14 "internal/coverage"15 "internal/coverage/encodecounter"16 "internal/coverage/encodemeta"17 "internal/coverage/rtcov"29 // emitted at the end of code coverage testing runs, from instrumented42 // process of writing out coverage data, it's possible that an93 cmode coverage.CounterMode95 cgran coverage.CounterGranularity[all …]
63 const float coverage[4], in write_quad_generic()74 // perspective and coverage mode. in write_quad_generic()78 << If(mode == CoverageMode::kWithPosition, coverage[i]); in write_quad_generic()83 *vb << VertexColor(color * (mode == CoverageMode::kWithColor ? coverage[i] : 1), wide); in write_quad_generic()108 // 2D (XY), no explicit coverage, vertex color, no locals, no geometry subset, no texture subsetn114 const float coverage[4], in write_2d_color()132 // If this is not coverage-with-alpha, make sure coverage == 1 so it doesn't do anything in write_2d_color()133 SkASSERT(spec.coverageMode() == CoverageMode::kWithColor || coverage[i] == 1.f); in write_2d_color()136 << VertexColor(color * coverage[i], wide); in write_2d_color()140 // 2D (XY), no explicit coverage, UV locals, no color, no geometry subset, no texture subset[all …]
1 //===- CodeCoverage.cpp - Coverage tool based on profiling instrumentation-===//11 // report coverage information using the profiling instrumentation and code12 // coverage mapping.24 #include "llvm/ProfileData/Coverage/CoverageMapping.h"36 using namespace coverage;39 /// \brief The implementation of the coverage tool.70 CoverageMapping &Coverage);74 createFunctionView(const FunctionRecord &Function, CoverageMapping &Coverage);78 createSourceFileView(StringRef SourceFile, CoverageMapping &Coverage);80 /// \brief Load the coverage mapping data. Return true if an error occured.[all …]
99 ….intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_common/javac/art-ru…100 ….intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_common/javac/art-ru…127 …coverage/art-run-test-1337-gc-coverage/android_common/lint-srcs.list.rsp __SBOX_SANDBOX_DIR__/out/…130 …to: "out/soong/.intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_comm…134 …to: "out/soong/.intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_comm…138 …to: "out/soong/.intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_comm…142 …to: "out/soong/.intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_comm…146 …to: "out/soong/.intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_comm…150 …to: "out/soong/.intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_comm…154 …file: "out/soong/.intermediates/art/test/1337-gc-coverage/art-run-test-1337-gc-coverage/android_co…[all …]
46 import com.android.tradefed.testtype.coverage.CoverageOptions;118 /** Options for coverage. */179 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in clangCoverageDisabled_noCoverageLog()194 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in coverageFlushEnabled_flushCalled()195 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "CLANG"); in coverageFlushEnabled_flushCalled()196 mCoverageOptionsSetter.setOptionValue("coverage-flush", "true"); in coverageFlushEnabled_flushCalled()209 // Verify flush-coverage command was called at the end of the test run. in coverageFlushEnabled_flushCalled()215 mCoverageOptionsSetter.setOptionValue("coverage", "true"); in testRun_misc_trace_only_logsCoverageFile()216 mCoverageOptionsSetter.setOptionValue("coverage-toolchain", "CLANG"); in testRun_misc_trace_only_logsCoverageFile()224 "path/to/coverage.profraw", in testRun_misc_trace_only_logsCoverageFile()[all …]
6 Collect coverage statistics of library code into an HTML report.9 1. Build the library with CFLAGS="--coverage -O0 -g3" and link the test10 programs with LDFLAGS="--coverage".13 make CFLAGS="--coverage -O0 -g3" LDFLAGS="--coverage"15 mkdir build-coverage && cd build-coverage &&16 cmake -D CMAKE_BUILD_TYPE=Coverage .. && make19 object files and coverage statistics files.20 4. Browse the coverage report in Coverage/index.html.35 rm -rf Coverage36 mkdir Coverage Coverage/tmp[all …]
1 # Android code coverage instructions3 These are instructions for collecting code coverage data for android4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage].8 ## How JaCoCo coverage works10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented14 ## How to collect coverage data25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`.29 3. The coverage results of JUnit and instrumentation tests will be merged32 ## How to generate coverage report[all …]
856 # gcov/lcov code coverage reporting858 # Coverage reporting targets:860 # coverage: Create a coverage report from 'make check'861 # coverage-baseline: Capture baseline coverage information862 # coverage-reset: This zeros the coverage counters only863 # coverage-report: This creates the coverage report only864 # coverage-clean-report: This removes the generated coverage report865 # without cleaning the coverage data itself866 # coverage-clean-data: This removes the captured coverage data without867 # removing the coverage files created at compile time (*.gcno)[all …]