added dart plugin registrant test executables to run_tests.py (flutter/engine#31726)

This commit is contained in:
gaaclarke
2022-02-28 19:51:57 -08:00
committed by GitHub
parent a6fcef5dc3
commit 9b0587193e
2 changed files with 6 additions and 1 deletions

View File

@@ -720,7 +720,8 @@ bool EndsWith(const std::string& str, const std::string& ending) {
}
Dart_Handle FindDartPluginRegistrantLibrary() {
// TODO(): Instead of finding this, it could be passed down from the tool.
// TODO(99308): Instead of finding this, it could be passed down from the
// tool.
Dart_Handle libraries = Dart_GetLoadedLibraries();
intptr_t length = 0;
Dart_ListLength(libraries, &length);

View File

@@ -202,6 +202,10 @@ def RunCCTests(build_dir, filter, coverage, capture_core_dump):
RunEngineExecutable(build_dir, 'tonic_unittests', filter, shuffle_flags, coverage=coverage)
RunEngineExecutable(build_dir, 'no_dart_plugin_registrant_unittests', filter, shuffle_flags, coverage=coverage)
RunEngineExecutable(build_dir, 'dart_plugin_registrant_unittests', filter, shuffle_flags, coverage=coverage)
if not IsWindows():
# https://github.com/flutter/flutter/issues/36295
RunEngineExecutable(build_dir, 'shell_unittests', filter, shuffle_flags, coverage=coverage)