Revision: 14213
Author:   [email protected]
Date:     Wed Apr 10 07:31:13 2013
Log: Stack traversal doesn't work properly on Arm simulator so disabling the test there.

BUG=2621

Review URL: https://codereview.chromium.org/13993006
http://code.google.com/p/v8/source/detail?r=14213

Modified:
 /branches/bleeding_edge/test/cctest/cctest.status
 /branches/bleeding_edge/test/cctest/test-cpu-profiler.cc

=======================================
--- /branches/bleeding_edge/test/cctest/cctest.status Tue Apr 9 01:39:01 2013 +++ /branches/bleeding_edge/test/cctest/cctest.status Wed Apr 10 07:31:13 2013
@@ -77,6 +77,9 @@
 test-serialize/DeserializeAndRunScript2: SKIP
 test-serialize/DeserializeFromSecondSerialization: SKIP

+# BUG(2621): Stack traversal doesn't work properly on Arm simulator.
+test-cpu-profiler/CollectCpuProfile: SKIP
+
##############################################################################
 [ $arch == android_arm || $arch == android_ia32 ]

=======================================
--- /branches/bleeding_edge/test/cctest/test-cpu-profiler.cc Wed Apr 10 07:09:16 2013 +++ /branches/bleeding_edge/test/cctest/test-cpu-profiler.cc Wed Apr 10 07:31:13 2013
@@ -40,7 +40,7 @@
 using i::ProfileGenerator;
 using i::ProfileNode;
 using i::ProfilerEventsProcessor;
-// using i::ScopedVector;
+using i::ScopedVector;
 using i::TokenEnumerator;
 using i::Vector;

@@ -396,7 +396,6 @@
 }


-#if 0
 static bool ContainsString(v8::Handle<v8::String> string,
                            const Vector<v8::Handle<v8::String> >& vector) {
   for (int i = 0; i < vector.length(); i++) {
@@ -536,5 +535,6 @@
   CheckSimpleBranch(fooNode, bazBranch, ARRAY_SIZE(bazBranch));
   const char* delayBranch[] = { "delay", "loop" };
   CheckSimpleBranch(fooNode, delayBranch, ARRAY_SIZE(delayBranch));
+
+  cpu_profiler->DeleteAllCpuProfiles();
 }
-#endif

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to