Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 5496995ffe4c4935a834351e9f7c84beec72c9a0..7375c5af0385ba605d5b4121af7859ea6fe36cc5 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -77,12 +77,20 @@ using ::v8::V8; |
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; |