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

Unified Diff: runtime/bin/run_vm_tests.cc

Issue 14786012: Second step towards loading the core library scripts directly from the sources (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/include/dart_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/run_vm_tests.cc
===================================================================
--- runtime/bin/run_vm_tests.cc (revision 22375)
+++ runtime/bin/run_vm_tests.cc (working copy)
@@ -8,8 +8,10 @@
#include "vm/benchmark_test.h"
#include "vm/dart.h"
+#include "bin/dartutils.h"
#include "vm/unit_test.h"
+
// TODO(iposva, asiva): This is a placeholder for the real unittest framework.
namespace dart {
@@ -104,7 +106,10 @@
dart_argv);
ASSERT(set_vm_flags_success);
const char* err_msg = Dart::InitOnce(NULL, NULL, NULL, NULL,
- NULL, NULL, NULL);
+ dart::bin::DartUtils::OpenFile,
+ dart::bin::DartUtils::ReadFile,
+ dart::bin::DartUtils::WriteFile,
+ dart::bin::DartUtils::CloseFile);
ASSERT(err_msg == NULL);
// Apply the filter to all registered tests.
TestCaseBase::RunAll();
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/include/dart_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698