sanitycheck: do not list discards when loading tests from file

When we load tests from a file, we do not have the discarded list, this
would have been done already when saving the test file.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-01-12 21:56:59 -05:00 committed by Andrew Boie
commit 30551f40e9

View file

@ -2339,7 +2339,7 @@ def main():
if options.discard_report:
ts.discard_report(options.discard_report)
if VERBOSE > 1:
if VERBOSE > 1 and discards:
for i, reason in discards.items():
debug(
"{:<25} {:<50} {}SKIPPED{}: {}".format(