Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2602783002: Add flutter_engine runtime to the test script so we can run standard dart tests from the test suite… (Closed)
Patch Set: Address code review comments. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 47b8a8791b67dcf9e333f435677375bbb708a3c2..6a00f09dc1aa0591bd1d6d03cccae81c1eedd9f2 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -208,6 +208,14 @@ abstract class TestSuite {
return dartExecutable;
}
+ /// Returns the name of the flutter engine executable.
+ String get flutterEngineBinaryFileName {
+ // Controlled by user with the option "--engine".
zra 2017/01/05 20:59:58 --flutter_engine
siva 2017/01/05 21:27:19 Renamed to flutter.
+ String flutterExecutable = configuration['engine'];
zra 2017/01/05 20:59:58 'engine' -> 'flutter_engine'
siva 2017/01/05 21:27:19 Ditto.
+ TestUtils.ensureExists(flutterExecutable, configuration);
+ return flutterExecutable;
+ }
+
String get dartVmNooptBinaryFileName {
// Controlled by user with the option "--dart".
String dartExecutable = configuration['dart'];
« tools/testing/dart/test_options.dart ('K') | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698