Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picture caching support, part 1 (of 2). #3332

Merged
merged 10 commits into from Nov 23, 2018
Next

Make reftest failure messages more useful.

  • Loading branch information
gw3583 committed Nov 22, 2018
commit 0eeabbbecba22577ff3c8a8447241b2e68a313cb
@@ -395,7 +395,8 @@ impl<'a> ReftestHarness<'a> {

if let Some(expected_draw_calls) = t.expected_draw_calls {
if expected_draw_calls != stats.total_draw_calls {
println!("REFTEST TEST-UNEXPECTED-FAIL | {}/{} | expected_draw_calls",
println!("REFTEST TEST-UNEXPECTED-FAIL | {} | {}/{} | expected_draw_calls",
t,
stats.total_draw_calls,
expected_draw_calls
);
@@ -405,7 +406,8 @@ impl<'a> ReftestHarness<'a> {
}
if let Some(expected_alpha_targets) = t.expected_alpha_targets {
if expected_alpha_targets != stats.alpha_target_count {
println!("REFTEST TEST-UNEXPECTED-FAIL | {}/{} | alpha_target_count",
println!("REFTEST TEST-UNEXPECTED-FAIL | {} | {}/{} | alpha_target_count",
t,
stats.alpha_target_count,
expected_alpha_targets
);
@@ -415,7 +417,8 @@ impl<'a> ReftestHarness<'a> {
}
if let Some(expected_color_targets) = t.expected_color_targets {
if expected_color_targets != stats.color_target_count {
println!("REFTEST TEST-UNEXPECTED-FAIL | {}/{} | color_target_count",
println!("REFTEST TEST-UNEXPECTED-FAIL | {} | {}/{} | color_target_count",
t,
stats.color_target_count,
expected_color_targets
);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.