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

Side by Side Diff: runtime/bin/run_vm_tests.cc

Issue 1416063005: Hack around TLS destructors firing after the process exits (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « runtime/bin/platform_win.cc ('k') | runtime/vm/os_thread_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include <stdio.h> 5 #include <stdio.h>
6 6
7 #include "bin/file.h" 7 #include "bin/file.h"
8 #include "bin/dartutils.h"
9 #include "bin/platform.h"
8 10
9 #include "vm/benchmark_test.h" 11 #include "vm/benchmark_test.h"
10 #include "vm/dart.h" 12 #include "vm/dart.h"
11 #include "bin/dartutils.h"
12 #include "vm/unit_test.h" 13 #include "vm/unit_test.h"
13 14
14 15
15 // TODO(iposva, asiva): This is a placeholder for the real unittest framework. 16 // TODO(iposva, asiva): This is a placeholder for the real unittest framework.
16 namespace dart { 17 namespace dart {
17 18
18 // vm_isolate_snapshot_buffer points to a snapshot for the vm isolate if we 19 // vm_isolate_snapshot_buffer points to a snapshot for the vm isolate if we
19 // link in a snapshot otherwise it is initialized to NULL. 20 // link in a snapshot otherwise it is initialized to NULL.
20 extern const uint8_t* bin::vm_isolate_snapshot_buffer; 21 extern const uint8_t* bin::vm_isolate_snapshot_buffer;
21 22
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 fprintf(stderr, "No tests matched: %s\n", run_filter); 127 fprintf(stderr, "No tests matched: %s\n", run_filter);
127 return 1; 128 return 1;
128 } 129 }
129 return 0; 130 return 0;
130 } 131 }
131 132
132 } // namespace dart 133 } // namespace dart
133 134
134 135
135 int main(int argc, const char** argv) { 136 int main(int argc, const char** argv) {
136 return dart::Main(argc, argv); 137 dart::bin::Platform::Exit(dart::Main(argc, argv));
137 } 138 }
OLDNEW
« no previous file with comments | « runtime/bin/platform_win.cc ('k') | runtime/vm/os_thread_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698