Skip all .skps in 565.

More SKPs are failing with a 565 target on other platforms:

http://108.170.220.120:10117/builders/Test-Win7-ShuttleA-HD2000-x86-Debug/builds/2938/steps/RunNanobench/logs/stdio

BUG=skia:2797
R=mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/431983006
This commit is contained in:
mtklein 2014-08-01 08:23:39 -07:00 committed by Commit bot
parent 92007583e4
commit 6e33e232df

View File

@ -532,12 +532,8 @@ int nanobench_main() {
#if SK_DEBUG
// skia:2797 Some SKPs SkASSERT in debug mode. Skip them for now.
if (0 == strcmp("565", config)
&& ( SkStrStartsWith(bench->getName(), "desk_carsvg.skp")
|| SkStrStartsWith(bench->getName(), "desk_forecastio.skp")
|| SkStrStartsWith(bench->getName(), "tabl_cnet.skp")
|| SkStrStartsWith(bench->getName(), "tabl_googlecalendar.skp"))) {
SkDebugf("Skipping 565 %s. It'd assert.\n", bench->getName());
if (0 == strcmp("565", config) && SkStrContains(bench->getName(), ".skp")) {
SkDebugf("Skipping 565 %s. See skia:2797\n", bench->getName());
continue;
}
#endif