crystal-tool-macro_code_coverage1
Generate a macro code coverage report.
Usage
crystal tool
macro_code_coverage
[options]
[programfile]
Overview
Generate and output a macro code coverage report to STDERR. Any exception raised while computing the report is written to STDOUT.
Options
-
-D FLAG, --define=FLAG -
Define a compile-time flag. This is useful to con ditionally define types, methods, or commands based on flags available at compile time. The default flags are from the target triple given with
--target-triple or the hosts default, if none is given.
-
-f FORMAT, --format=FORMAT -
Output format 'codecov' (default).
-
-i PATH, --include=PATH -
Include path in output.
-
-e PATH, --exclude=PATH -
Exclude path in output (default: lib).
-
--error-trace -
Show full error trace.
-
--prelude -
Specify prelude to use. The default one initializes the garbage collector. You can also use
--prelude=empty to use no preludes. This can be useful for checking code generation for a specific source code file.
-
-s, --stats -
Print statistics about the different compiler stages for the current build. Output time and used memory for each compiler process.
-
-p, --progress -
Print statistics about the progress for the current build.
-
-t, --time -
Print statistics about the execution time.
-
--no-color -
Disable colored output.