Index: runtime/bin/run_vm_tests.cc |
diff --git a/runtime/bin/run_vm_tests.cc b/runtime/bin/run_vm_tests.cc |
index 8447a04c8307976d91724f7dc2bf8ee6473e3ef0..54c540fe6a3d1687d306d9da028526e400efbb11 100644 |
--- a/runtime/bin/run_vm_tests.cc |
+++ b/runtime/bin/run_vm_tests.cc |
@@ -5,10 +5,11 @@ |
#include <stdio.h> |
#include "bin/file.h" |
+#include "bin/dartutils.h" |
+#include "bin/platform.h" |
#include "vm/benchmark_test.h" |
#include "vm/dart.h" |
-#include "bin/dartutils.h" |
#include "vm/unit_test.h" |
@@ -133,5 +134,5 @@ static int Main(int argc, const char** argv) { |
int main(int argc, const char** argv) { |
- return dart::Main(argc, argv); |
+ dart::bin::Platform::Exit(dart::Main(argc, argv)); |
} |