Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 2430cbef5d02d0b9e2d25a7651adf326d390ddd8..4108a090598a8811d22ef8bd13a29bd490201e98 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2478,8 +2478,7 @@ THREADED_TEST(UndefinedIsNotEnumerable) { |
v8::Local<Script> call_recursively_script; |
-static const int kTargetRecursionDepth = 150; // near maximum |
- |
+static const int kTargetRecursionDepth = 100; // near maximum |
static void CallScriptRecursivelyCall( |
const v8::FunctionCallbackInfo<v8::Value>& args) { |
@@ -13807,6 +13806,16 @@ void ApiTestFuzzer::TearDown() { |
} |
} |
+void ApiTestFuzzer::CallTest() { |
+ v8::Isolate::Scope scope(CcTest::isolate()); |
+ if (kLogThreading) |
+ printf("Start test %s #%d\n", |
+ RegisterThreadedTest::nth(test_number_)->name(), test_number_); |
+ CallTestNumber(test_number_); |
+ if (kLogThreading) |
+ printf("End test %s #%d\n", RegisterThreadedTest::nth(test_number_)->name(), |
+ test_number_); |
+} |
// Lets not be needlessly self-referential. |
TEST(Threading1) { |
@@ -13837,16 +13846,6 @@ TEST(Threading4) { |
} |
-void ApiTestFuzzer::CallTest() { |
- v8::Isolate::Scope scope(CcTest::isolate()); |
- if (kLogThreading) |
- printf("Start test %d\n", test_number_); |
- CallTestNumber(test_number_); |
- if (kLogThreading) |
- printf("End test %d\n", test_number_); |
-} |
- |
- |
static void ThrowInJS(const v8::FunctionCallbackInfo<v8::Value>& args) { |
v8::Isolate* isolate = args.GetIsolate(); |
CHECK(v8::Locker::IsLocked(isolate)); |