diff options
author | cybai <cyb.ai.815@gmail.com> | 2022-08-16 00:18:37 +0900 |
---|---|---|
committer | cybai <cyb.ai.815@gmail.com> | 2022-08-16 00:18:37 +0900 |
commit | 4f446f8c85f858a54c8055921a8cd85db524771b (patch) | |
tree | 1b97c41d760f7861104b844c76f5675863da6380 /python/servo | |
parent | 49d94cb08b1d2f8039ea930692a63cf3a613a6fe (diff) | |
download | servo-4f446f8c85f858a54c8055921a8cd85db524771b.tar.gz servo-4f446f8c85f858a54c8055921a8cd85db524771b.zip |
Remove unnecessary always succeed flag
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/testing_commands.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index dc73b0af91e..bb25cb301cf 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -535,16 +535,13 @@ class MachCommands(CommandBase): help='The API endpoint for tracking known intermittent failures.') @CommandArgument('--reporter-api', default=None, action='store', help='The API endpoint for reporting tracked intermittent failures.') - @CommandArgument('--always-succeed', default=False, action='store_true', - help='Always yield exit code of zero') def filter_intermittents(self, summary, log_filteredsummary, log_intermittents, auth, tracker_api, - reporter_api, - always_succeed): + reporter_api): encoded_auth = None if auth: with open(auth, "r") as file: @@ -611,10 +608,7 @@ class MachCommands(CommandBase): if actual_failures: format(actual_failures, description) - if always_succeed: - return 0 - else: - return bool(actual_failures) + return bool(actual_failures) @Command('test-android-startup', description='Extremely minimal testing of Servo for Android', |