paycheck: --disalbed_tests implies --check
This is in line with other check-related options whose use implies
--check.
BUG=None
TEST=Integrity check is implied as expected
Change-Id: I5c2d964d9b6462c76747358129900acbba411d04
Reviewed-on: https://gerrit.chromium.org/gerrit/50102
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: David James <davidjames@chromium.org>
diff --git a/scripts/paycheck.py b/scripts/paycheck.py
index 3fc65dc..eb88ec9 100755
--- a/scripts/paycheck.py
+++ b/scripts/paycheck.py
@@ -108,8 +108,8 @@
# There are several options that imply --check.
opts.check = (opts.check or opts.report or opts.assert_type or
- opts.block_size or opts.allow_unhashed or opts.key or
- opts.meta_sig)
+ opts.block_size or opts.allow_unhashed or
+ opts.disabled_tests or opts.key or opts.meta_sig)
# Check number of arguments, enforce payload type accordingly.
if len(args) == 3: