File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ parse_coverage_criterion(const std::string &criterion_string)
130
130
c = coverage_criteriont::MCDC;
131
131
else if (criterion_string == " cover" )
132
132
c = coverage_criteriont::COVER;
133
- else if (criterion_string == " assume" )
133
+ else if (criterion_string == " assume" || criterion_string == " assumes " )
134
134
c = coverage_criteriont::ASSUME;
135
135
else
136
136
{
Original file line number Diff line number Diff line change @@ -31,7 +31,12 @@ class optionst;
31
31
32
32
#define HELP_COVER \
33
33
" --cover CC create test-suite with coverage criterion " \
34
- " CC\n " \
34
+ " CC,\n " \
35
+ " where CC is one of assertion[s], " \
36
+ " assume[s],\n " \
37
+ " branch[es], condition[s], cover, " \
38
+ " decision[s],\n " \
39
+ " location[s], or mcdc\n " \
35
40
" --cover-failed-assertions do not stop coverage checking at failed " \
36
41
" assertions\n " \
37
42
" (this is the default for --cover " \
You can’t perform that action at this time.
0 commit comments