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)
130130 c = coverage_criteriont::MCDC;
131131 else if (criterion_string == " cover" )
132132 c = coverage_criteriont::COVER;
133- else if (criterion_string == " assume" )
133+ else if (criterion_string == " assume" || criterion_string == " assumes " )
134134 c = coverage_criteriont::ASSUME;
135135 else
136136 {
Original file line number Diff line number Diff line change @@ -31,7 +31,12 @@ class optionst;
3131
3232#define HELP_COVER \
3333 " --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 " \
3540 " --cover-failed-assertions do not stop coverage checking at failed " \
3641 " assertions\n " \
3742 " (this is the default for --cover " \
You can’t perform that action at this time.
0 commit comments