Index: test/cctest/cctest.cc |
diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc |
index 4aa9c7eb7126382ddc5da1e460a582ccd2e63c1f..865bc6d22a27504c42f8ec7c2ca46f9e54119238 100644 |
--- a/test/cctest/cctest.cc |
+++ b/test/cctest/cctest.cc |
@@ -27,6 +27,10 @@ |
#include <v8.h> |
#include "cctest.h" |
+ |
+#include "print-extension.h" |
+#include "profiler-extension.h" |
+#include "trace-extension.h" |
#include "debug.h" |
enum InitializationState {kUnset, kUnintialized, kInitialized}; |
@@ -141,6 +145,13 @@ int main(int argc, char* argv[]) { |
CcTestArrayBufferAllocator array_buffer_allocator; |
v8::V8::SetArrayBufferAllocator(&array_buffer_allocator); |
+ i::PrintExtension print_extension; |
+ v8::RegisterExtension(&print_extension); |
+ i::ProfilerExtension profiler_extension; |
+ v8::RegisterExtension(&profiler_extension); |
+ i::TraceExtension trace_extension; |
+ v8::RegisterExtension(&trace_extension); |
+ |
int tests_run = 0; |
bool print_run_count = true; |
for (int i = 1; i < argc; i++) { |