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

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

Issue 1429173003: Revert "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"
10 8
11 #include "vm/benchmark_test.h" 9 #include "vm/benchmark_test.h"
12 #include "vm/dart.h" 10 #include "vm/dart.h"
11 #include "bin/dartutils.h"
13 #include "vm/unit_test.h" 12 #include "vm/unit_test.h"
14 13
15 14
16 // TODO(iposva, asiva): This is a placeholder for the real unittest framework. 15 // TODO(iposva, asiva): This is a placeholder for the real unittest framework.
17 namespace dart { 16 namespace dart {
18 17
19 // vm_isolate_snapshot_buffer points to a snapshot for the vm isolate if we 18 // vm_isolate_snapshot_buffer points to a snapshot for the vm isolate if we
20 // link in a snapshot otherwise it is initialized to NULL. 19 // link in a snapshot otherwise it is initialized to NULL.
21 extern const uint8_t* bin::vm_isolate_snapshot_buffer; 20 extern const uint8_t* bin::vm_isolate_snapshot_buffer;
22 21
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 fprintf(stderr, "No tests matched: %s\n", run_filter); 126 fprintf(stderr, "No tests matched: %s\n", run_filter);
128 return 1; 127 return 1;
129 } 128 }
130 return 0; 129 return 0;
131 } 130 }
132 131
133 } // namespace dart 132 } // namespace dart
134 133
135 134
136 int main(int argc, const char** argv) { 135 int main(int argc, const char** argv) {
137 dart::bin::Platform::Exit(dart::Main(argc, argv)); 136 return dart::Main(argc, argv);
138 } 137 }
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