/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/test/filecheck/testcfg.py
41 строка
1 KB
Michaël Zasso
deps: update V8 to 14.6.202.33
24 апр 2026, 19:01
Не верифицирован
24 апр 2026, 19:01
f1e0b83
Код
Авторство
О чём код?
# Copyright 2025 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 testrunner.local import testsuite from testrunner.objects import testcase from testrunner.outproc.filecheck import FileCheckOutProc class TestSuite(testsuite.TestSuite): def _test_loader_class(self): return testsuite.JSTestLoader def _test_class(self): return FileCheckTestCase class FileCheckTestCase(testcase.D8TestCase): """Test case using llvm's FileCheck.""" def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._source_flags = self._parse_source_flags() def _get_source_flags(self): return self._source_flags def _get_files_params(self): return [self._get_source_path()] def _get_source_path(self): return self.suite.root / self.path_js @property def output_proc(self): expect_d8_fail = 'crash' in self.path.parts return FileCheckOutProc( self.expected_outcomes, self.suite.root / self.path_and_suffix('.js'), expect_d8_fails=expect_d8_fail)