Chromium Code Reviews| Index: runtime/vm/unit_test.cc |
| =================================================================== |
| --- runtime/vm/unit_test.cc (revision 35374) |
| +++ runtime/vm/unit_test.cc (working copy) |
| @@ -227,6 +227,10 @@ |
| Isolate* isolate = Isolate::Current(); |
| ASSERT(isolate != NULL); |
| const Error& error = Error::Handle(Compiler::Compile(library, script)); |
| + if (!error.IsNull()) { |
| + OS::Print("Error compiling test script:\n%s\n", |
| + error.ToErrorCString()); |
| + } |
| return error.IsNull(); |
| } |