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

Side by Side Diff: runtime/vm/custom_isolate_test.cc

Issue 264753002: Adds Simulator Longjmp and enables many tests for arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/compiler_test.cc ('k') | runtime/vm/dart_api_impl_test.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // TODO(zra): Remove when tests are ready to enable.
6 #include "platform/globals.h"
7 #if !defined(TARGET_ARCH_ARM64)
8
9 #include "include/dart_api.h" 5 #include "include/dart_api.h"
10 #include "include/dart_native_api.h" 6 #include "include/dart_native_api.h"
11 7
12 #include "vm/unit_test.h" 8 #include "vm/unit_test.h"
13 9
14 // Custom Isolate Test. 10 // Custom Isolate Test.
15 // 11 //
16 // This mid-size test uses the Dart Embedding Api to create a custom 12 // This mid-size test uses the Dart Embedding Api to create a custom
17 // isolate abstraction. Instead of having a dedicated thread for each 13 // isolate abstraction. Instead of having a dedicated thread for each
18 // isolate, as is the case normally, this implementation shares a 14 // isolate, as is the case normally, this implementation shares a
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 event = event_queue->Get(); 343 event = event_queue->Get();
348 } 344 }
349 OS::Print("-- Finished event loop --\n"); 345 OS::Print("-- Finished event loop --\n");
350 EXPECT_STREQ("Received: 43", saved_echo); 346 EXPECT_STREQ("Received: 43", saved_echo);
351 free(const_cast<char*>(saved_echo)); 347 free(const_cast<char*>(saved_echo));
352 348
353 delete event_queue; 349 delete event_queue;
354 } 350 }
355 351
356 } // namespace dart 352 } // namespace dart
357
358 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW
« no previous file with comments | « runtime/vm/compiler_test.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698