-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpptestcc-bazel.psrc
41 lines (36 loc) · 1.44 KB
/
cpptestcc-bazel.psrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Configuration file for Parasoft C/C++test instrumentation engine (cpptestcc).
# For complete list of options, see the Parasoft C/C++test documentation or run:
# > cpptestcc -help
# To use with Bazel build:
#
# 1. Define 'cpptestcc-bazel-psrc' file group in your BUILD.bazel file:
# filegroup(name = "cpptestcc-bazel-psrc", srcs = ["cpptestcc-bazel.psrc"])
#
# 2. Use 'cpptestcc-bazel-psrc' when executing @cpptest//:coverage rule:
# --@cpptest//:psrc_file=//:cpptestcc-bazel-psrc
# Hint: use '.bazelrc' file to configure @cpptest//:coverage rule.
# Configure C/C++test compiler identifier
cpptestcc.compiler gcc_10-64
# Configure coverage type(s)
cpptestcc.line_coverage true
# cpptestcc.function_coverage true
# cpptestcc.statement_coverage true
# cpptestcc.block_coverage true
# cpptestcc.decision_coverage true
# cpptestcc.simpleConditionCoverage true
# cpptestcc.mcdcCoverage true
# cpptestcc.callCoverage true
# Configure scope of coverage analysis
# cpptestcc.include <INCLUDE_FILE_PATH>
# cpptestcc.exclude <EXCLUDE_FILE_PATH>
# cpptestcc.ignore "**/bazel-*/**"
# cpptestcc.workspace <WORKSPACE_PATH>
# Configure advanced options
# cpptestcc.coverageDataVariants true
# cpptestcc.coverageEarlyInit true
# cpptestcc.coverageAutoFinalization true
# cpptestcc.optimizedCoverageCorruptionDetection true
# cpptestcc.disableAutoRecoveryMode true
# cpptestcc.templateCoverage true
# cpptestcc.constexprCoverage true
# cpptestcc.ignoreConstDecisions true