Revision: 16757
Author: [email protected]
Date: Tue Sep 17 10:57:18 2013 UTC
Log: Don't run tests with the profiler when USE_SIMULATOR is defined.
BUG=v8:2874
[email protected]
Review URL: https://codereview.chromium.org/23710063
http://code.google.com/p/v8/source/detail?r=16757
Modified:
/branches/bleeding_edge/test/cctest/test-api.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc Mon Sep 16 14:50:01
2013 UTC
+++ /branches/bleeding_edge/test/cctest/test-api.cc Tue Sep 17 10:57:18
2013 UTC
@@ -77,12 +77,20 @@
using ::v8::Value;
+// TODO(bmeurer): Don't run profiled tests when using the simulator.
+// This is a temporary work-around, until the profiler is fixed.
+#if USE_SIMULATOR
+#define THREADED_PROFILED_TEST(Name) \
+ THREADED_TEST(Name)
+#else
#define THREADED_PROFILED_TEST(Name) \
static void Test##Name(); \
TEST(Name##WithProfiler) { \
RunWithProfiler(&Test##Name); \
} \
THREADED_TEST(Name)
+#endif
+
void RunWithProfiler(void (*test)()) {
LocalContext env;
--
--
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.