| Index: runtime/bin/run_vm_tests.cc
 | 
| diff --git a/runtime/bin/run_vm_tests.cc b/runtime/bin/run_vm_tests.cc
 | 
| index e821cc2d70959c100ce59142cc64337242f2ebeb..c45a2a023187e9096270a598eb05dde5c2e6fb44 100644
 | 
| --- a/runtime/bin/run_vm_tests.cc
 | 
| +++ b/runtime/bin/run_vm_tests.cc
 | 
| @@ -114,6 +114,12 @@ static int Main(int argc, const char** argv) {
 | 
|    TestCaseBase::RunAll();
 | 
|    // Apply the filter to all registered benchmarks.
 | 
|    Benchmark::RunAll(argv[0]);
 | 
| +
 | 
| +  if (Flags::IsSet("shutdown")) {
 | 
| +    err_msg = Dart::Cleanup();
 | 
| +    ASSERT(err_msg == NULL);
 | 
| +  }
 | 
| +
 | 
|    // Print a warning message if no tests or benchmarks were matched.
 | 
|    if (run_matches == 0) {
 | 
|      fprintf(stderr, "No tests matched: %s\n", run_filter);
 | 
| 
 |