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

Unified Diff: runtime/vm/unit_test.cc

Issue 3001013002: Pass path to platform kernel binary to kernel-service. (Closed)
Patch Set: Add TODO to switch to outline.dill Created 3 years, 4 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: runtime/vm/unit_test.cc
diff --git a/runtime/vm/unit_test.cc b/runtime/vm/unit_test.cc
index 179e53762c10c5c5551a77b7c4c799bb34c16f91..3228eb6e2f6df435e6b7435583286e7477466a49 100644
--- a/runtime/vm/unit_test.cc
+++ b/runtime/vm/unit_test.cc
@@ -191,7 +191,8 @@ char* TestCase::CompileTestScriptWithDFE(const char* url,
bool incrementally) {
Zone* zone = Thread::Current()->zone();
Dart_KernelCompilationResult compilation_result = Dart_CompileSourcesToKernel(
- url, sourcefiles_count, sourcefiles, incrementally);
+ url, NULL /* platform_binary */, sourcefiles_count, sourcefiles,
siva 2017/08/17 15:40:57 Why is platform_binary null here, is it because th
aam 2017/08/17 16:29:58 Basically for these tests we don't have to pass pa
siva 2017/08/18 00:40:45 Sounds good. I agree not necessary for the unit te
+ incrementally);
if (compilation_result.status != Dart_KernelCompilationStatus_Ok) {
return OS::SCreate(zone, "Compilation failed %s", compilation_result.error);

Powered by Google App Engine
This is Rietveld 408576698