1# Copyright 2018 the V8 project authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from . import base 6 7 8class OutProc(base.ExpectedOutProc): 9 def _is_failure_output(self, output): 10 if output.exit_code != 0: 11 return True 12 return super(OutProc, self)._is_failure_output(output) 13 14 def _ignore_expected_line(self, line): 15 return ( 16 line.startswith('#') or 17 super(OutProc, self)._ignore_expected_line(line) 18 ) 19