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

Unified Diff: runtime/vm/find_code_object_test.cc

Issue 1919283003: Fixes and enables FindCodeObject test for dbc (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/find_code_object_test.cc
diff --git a/runtime/vm/find_code_object_test.cc b/runtime/vm/find_code_object_test.cc
index bac5c1ee851f7df4e1b9c9fee4f4a9790af8a3c2..b7e437b4b1356cae4387e0fd48f015d58d81c787 100644
--- a/runtime/vm/find_code_object_test.cc
+++ b/runtime/vm/find_code_object_test.cc
@@ -16,10 +16,14 @@ namespace dart {
VM_TEST_CASE(FindCodeObject) {
#if defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64)
const int kLoopCount = 50000;
+ const int kScriptSize = 512 * KB;
+#elif defined(TARGET_ARCH_DBC)
+ const int kLoopCount = 60000;
+ const int kScriptSize = 1 * MB;
#else
const int kLoopCount = 25000;
-#endif
const int kScriptSize = 512 * KB;
+#endif
const int kNumFunctions = 1024;
char scriptChars[kScriptSize];
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698