| Index: sky/tools/tester/test_runner.cc
|
| diff --git a/sky/tools/tester/test_runner.cc b/sky/tools/tester/test_runner.cc
|
| index 4f948be4c0b4a03c7a2fafc6a72a6b7051beb529..b321badc303ae77693f5ab869a90e816d8388a4d 100644
|
| --- a/sky/tools/tester/test_runner.cc
|
| +++ b/sky/tools/tester/test_runner.cc
|
| @@ -55,6 +55,7 @@ void TestRunner::OnTestComplete(const std::string& test_result,
|
| std::cout << "\nActualHash: FAKEHASHSTUB\n";
|
| std::cout << "Content-Type: image/png\n";
|
| std::cout << "Content-Length: " << pixels.size() << "\n";
|
| + CHECK(pixels.size()) << "Could not dump pixels. Did you call notifyTestComplete before the first paint?";
|
| std::cout.write(
|
| reinterpret_cast<const char*>(&pixels[0]), pixels.size());
|
| }
|
|
|