Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index c910f0ec5ea149d7acc38a4254a28e5b8b8a4d04..b427257d652daeb4b6adff4cf4f2155ac9dacbfb 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -130,19 +130,18 @@ static void SignatureCallback( |
// Tests that call v8::V8::Dispose() cannot be threaded. |
-TEST(InitializeAndDisposeOnce) { |
+UNINITIALIZED_TEST(InitializeAndDisposeOnce) { |
CHECK(v8::V8::Initialize()); |
CHECK(v8::V8::Dispose()); |
} |
// Tests that call v8::V8::Dispose() cannot be threaded. |
-TEST(InitializeAndDisposeMultiple) { |
+UNINITIALIZED_TEST(InitializeAndDisposeMultiple) { |
for (int i = 0; i < 3; ++i) CHECK(v8::V8::Dispose()); |
for (int i = 0; i < 3; ++i) CHECK(v8::V8::Initialize()); |
for (int i = 0; i < 3; ++i) CHECK(v8::V8::Dispose()); |
- // TODO(mstarzinger): This should fail gracefully instead of asserting. |
- // for (int i = 0; i < 3; ++i) CHECK(v8::V8::Initialize()); |
+ for (int i = 0; i < 3; ++i) CHECK(v8::V8::Initialize()); |
for (int i = 0; i < 3; ++i) CHECK(v8::V8::Dispose()); |
} |