Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions | Variables
run_tests.py File Reference

Go to the source code of this file.

Classes

class  run_tests.EngineExecutableTask
 
class  run_tests.FlutterTesterOptions
 
class  run_tests.DirectoryChange
 

Namespaces

namespace  run_tests
 

Functions

def run_tests.print (*args, **kwargs)
 
def run_tests.print_divider (char='=')
 
def run_tests.is_asan (build_dir)
 
None run_tests.run_cmd (typing.List[str] cmd, typing.List[str] forbidden_output=None, bool expect_failure=False, typing.Dict[str, str] env=None, typing.List[str] allowed_failure_output=None, **kwargs)
 
def run_tests.is_mac ()
 
def run_tests.is_aarm64 ()
 
def run_tests.is_linux ()
 
def run_tests.is_windows ()
 
def run_tests.executable_suffix ()
 
def run_tests.find_executable_path (path)
 
def run_tests.vulkan_validation_env (build_dir)
 
def run_tests.metal_validation_env ()
 
def run_tests.build_engine_executable_command (build_dir, executable_name, flags=None, coverage=False, gtest=False)
 
def run_tests.run_engine_executable (build_dir, executable_name, executable_filter, flags=None, cwd=BUILDROOT_DIR, forbidden_output=None, allowed_failure_output=None, expect_failure=False, coverage=False, extra_env=None, gtest=False)
 
def run_tests.run_cc_tests (build_dir, executable_filter, coverage, capture_core_dump)
 
def run_tests.run_engine_benchmarks (build_dir, executable_filter)
 
def run_tests.gather_dart_test (build_dir, dart_file, options)
 
def run_tests.ensure_ios_tests_are_built (ios_out_dir)
 
def run_tests.assert_expected_xcode_version ()
 
def run_tests.java_home ()
 
def run_tests.java_bin ()
 
def run_tests.run_java_tests (executable_filter, android_variant='android_debug_unopt')
 
def run_tests.run_android_unittest (test_runner_name, android_variant, adb_path)
 
def run_tests.run_android_tests (android_variant='android_debug_unopt', adb_path=None)
 
def run_tests.run_objc_tests (ios_variant='ios_debug_sim_unopt', test_filter=None)
 
def run_tests.delete_simulator (simulator_name)
 
def run_tests.gather_dart_tests (build_dir, test_filter)
 
def run_tests.gather_dart_smoke_test (build_dir, test_filter)
 
def run_tests.gather_dart_package_tests (build_dir, package_path, extra_opts)
 
def run_tests.build_dart_host_test_list (build_dir)
 
def run_tests.run_benchmark_tests (build_dir)
 
def run_tests.worker_init (queue, level)
 
def run_tests.run_engine_tasks_in_parallel (tasks)
 
def run_tests.run_impeller_golden_tests (str build_dir, bool require_skia_gold=False)
 
def run_tests.main ()
 

Variables

 run_tests.SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
 
 run_tests.BUILDROOT_DIR = os.path.abspath(os.path.join(os.path.realpath(__file__), '..', '..', '..'))
 
 run_tests.GOLDEN_DIR = os.path.join(BUILDROOT_DIR, 'flutter', 'testing', 'resources')
 
 run_tests.FONTS_DIR = os.path.join(BUILDROOT_DIR, 'flutter', 'third_party', 'txt', 'third_party', 'fonts')
 
 run_tests.ROBOTO_FONT_PATH = os.path.join(FONTS_DIR, 'Roboto-Regular.ttf')
 
 run_tests.FONT_SUBSET_DIR = os.path.join(BUILDROOT_DIR, 'flutter', 'tools', 'font_subset')
 
string run_tests.ENCODING = 'UTF-8'
 
 run_tests.LOG_FILE = os.path.join(OUT_DIR, 'run_tests.log')
 
 run_tests.logger = logging.getLogger(__name__)
 
 run_tests.console_logger_handler = logging.StreamHandler()
 
 run_tests.file_logger_handler = logging.FileHandler(LOG_FILE)
 
list run_tests.shuffle_flags
 
list run_tests.repeat_flags