Add a context stack to Reporter, for better error messages
authorBrian Osman <brianosman@google.com>
Mon, 5 Dec 2016 16:35:07 +0000 (11:35 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 5 Dec 2016 18:30:46 +0000 (18:30 +0000)
commit287f6512f34d456b593ea030197925dfc5b15c65
tree90b3e05666ec4d5cd1878204d9550f1988a4713c
parent91db12d89c214235e24599f3ec18df2f952e99eb
Add a context stack to Reporter, for better error messages

Currently, just inject the Ganesh context type when running unit tests.
Obviously, we can use this to supply other contextual information around
tests that do many variations of configs, formats, etc...

BUG=skia:

Change-Id: Iab96632a92ec632e4d132bbcc17a91a8dd251e78
Reviewed-on: https://skia-review.googlesource.com/5565
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
dm/DM.cpp
tests/Test.h