File tree 7 files changed +18
-7
lines changed 7 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ void jdiff_parse_optionst::help()
367
367
" \n "
368
368
" Program instrumentation options:\n "
369
369
HELP_GOTO_CHECK
370
- " --cover CC create test-suite with coverage criterion CC \n " // NOLINT(*)
370
+ HELP_COVER
371
371
" Java Bytecode frontend options:\n "
372
372
JAVA_BYTECODE_LANGUAGE_OPTIONS_HELP
373
373
" Other options:\n "
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ Author: Peter Schrammel
23
23
#include < goto-programs/show_goto_functions.h>
24
24
#include < goto-programs/show_properties.h>
25
25
26
+ #include < goto-instrument/cover.h>
27
+
26
28
class goto_modelt ;
27
29
28
30
// clang-format off
@@ -31,7 +33,7 @@ class goto_modelt;
31
33
OPT_SHOW_GOTO_FUNCTIONS \
32
34
OPT_SHOW_PROPERTIES \
33
35
OPT_GOTO_CHECK \
34
- " (cover): " \
36
+ OPT_COVER \
35
37
" (verbosity):(version)" \
36
38
" (no-lazy-methods)" /* should go away */ \
37
39
" (no-refine-strings)" /* should go away */ \
Original file line number Diff line number Diff line change @@ -1118,7 +1118,7 @@ void cbmc_parse_optionst::help()
1118
1118
" --no-assertions ignore user assertions\n "
1119
1119
" --no-assumptions ignore user assumptions\n "
1120
1120
" --error-label label check that label is unreachable\n "
1121
- " --cover CC create test-suite with coverage criterion CC \n " // NOLINT(*)
1121
+ HELP_COVER
1122
1122
" --mm MM memory consistency model for concurrent programs\n " // NOLINT(*)
1123
1123
// NOLINTNEXTLINE(whitespace/line_length)
1124
1124
" --malloc-fail-assert set malloc failure mode to assert-then-assume\n "
Original file line number Diff line number Diff line change 34
34
#include < json/json_interface.h>
35
35
#include < xmllang/xml_interface.h>
36
36
37
+ #include < goto-instrument/cover.h>
38
+
37
39
class goto_functionst ;
38
40
class optionst ;
39
41
@@ -73,8 +75,9 @@ class optionst;
73
75
" (property):(stop-on-fail)(trace)" \
74
76
" (error-label):(verbosity):(no-library)" \
75
77
" (nondet-static)" \
76
- " (version)" \
77
- " (cover):(symex-coverage-report):" \
78
+ " (version)" \
79
+ OPT_COVER \
80
+ " (symex-coverage-report):" \
78
81
" (mm):" \
79
82
OPT_TIMESTAMP \
80
83
" (i386-linux)(i386-macos)(i386-win32)(win32)(winx64)(gcc)" \
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ void goto_diff_parse_optionst::help()
411
411
" \n "
412
412
" Program instrumentation options:\n "
413
413
HELP_GOTO_CHECK
414
- " --cover CC create test-suite with coverage criterion CC \n " // NOLINT(*)
414
+ HELP_COVER
415
415
" Other options:\n "
416
416
" --version show version and exit\n "
417
417
" --json-ui use JSON-formatted output\n "
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ Author: Peter Schrammel
22
22
#include < goto-programs/show_goto_functions.h>
23
23
#include < goto-programs/show_properties.h>
24
24
25
+ #include < goto-instrument/cover.h>
26
+
25
27
class goto_modelt ;
26
28
class optionst ;
27
29
@@ -31,7 +33,7 @@ class optionst;
31
33
OPT_SHOW_GOTO_FUNCTIONS \
32
34
OPT_SHOW_PROPERTIES \
33
35
OPT_GOTO_CHECK \
34
- " (cover): " \
36
+ OPT_COVER \
35
37
" (verbosity):(version)" \
36
38
OPT_FLUSH \
37
39
OPT_TIMESTAMP \
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ class message_handlert;
22
22
class cmdlinet ;
23
23
class optionst ;
24
24
25
+ #define OPT_COVER " (cover):"
26
+ #define HELP_COVER \
27
+ " --cover CC create test-suite with coverage criterion CC\n "
28
+
25
29
enum class coverage_criteriont
26
30
{
27
31
LOCATION,
You can’t perform that action at this time.
0 commit comments