sanitycheck: fix documentation of --discard-report

The discard report is now generated for every run as
sanity-out/sanitycheck_discard.csv, the option --discard-report was
dropped.

Fixes #20804

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-11-20 03:47:27 -08:00
commit 12d8cce8b7
2 changed files with 10 additions and 7 deletions

View file

@ -418,8 +418,9 @@ filter: <expression>
The set of test cases that actually run depends on directives in the testcase The set of test cases that actually run depends on directives in the testcase
filed and options passed in on the command line. If there is any confusion, filed and options passed in on the command line. If there is any confusion,
running with -v or --discard-report can help show why particular test cases running with -v or examining the discard report
were skipped. (:file:`sanitycheck_discard.csv`) can help show why particular test cases were
skipped.
Metrics (such as pass/fail state and binary size) for the last code Metrics (such as pass/fail state and binary size) for the last code
release are stored in scripts/sanity_chk/sanity_last_release.csv. release are stored in scripts/sanity_chk/sanity_last_release.csv.

View file

@ -149,8 +149,8 @@ pairs:
The set of test cases that actually run depends on directives in the testcase The set of test cases that actually run depends on directives in the testcase
filed and options passed in on the command line. If there is any confusion, filed and options passed in on the command line. If there is any confusion,
running with -v or --discard-report can help show why particular test cases running with -v or examining the discard report (sanitycheck_discard.csv)
were skipped. can help show why particular test cases were skipped.
Metrics (such as pass/fail state and binary size) for the last code Metrics (such as pass/fail state and binary size) for the last code
release are stored in scripts/sanity_chk/sanity_last_release.csv. release are stored in scripts/sanity_chk/sanity_last_release.csv.
@ -3126,9 +3126,11 @@ Artificially long but functional example:
parser.add_argument( parser.add_argument(
"-y", "--dry-run", action="store_true", "-y", "--dry-run", action="store_true",
help="Create the filtered list of test cases, but don't actually " help="""Create the filtered list of test cases, but don't actually
"run them. Useful if you're just interested in " run them. Useful if you're just interested in the discard report
"--discard-report") generated for every run and saved in the specified output
directory (sanitycheck_discard.csv).
""")
parser.add_argument("--list-tags", action="store_true", parser.add_argument("--list-tags", action="store_true",
help="list all tags in selected tests") help="list all tags in selected tests")