/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/tools/testrunner/outproc/mozilla.py
33 строки
751 B
Michaël Zasso
deps: update V8 to 6.5.254.31
07 мар 2018, 18:48
07 мар 2018, 18:48
88786fe
Код
Авторство
О чём код?
# Copyright 2018 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from . import base def _is_failure_output(self, output): return ( output.exit_code != 0 or 'FAILED!' in output.stdout ) class OutProc(base.OutProc): """Optimized for positive tests.""" OutProc._is_failure_output = _is_failure_output class PassOutProc(base.PassOutProc): """Optimized for positive tests expected to PASS.""" PassOutProc._is_failure_output = _is_failure_output class NegOutProc(base.Negative, OutProc): pass class NegPassOutProc(base.Negative, PassOutProc): pass MOZILLA_PASS_DEFAULT = PassOutProc() MOZILLA_PASS_NEGATIVE = NegPassOutProc()