From 94b630e2ed66673d8ae8f044d6bd4067114647ff Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 7 Jul 2014 19:17:31 +0100 Subject: [PATCH] Mark as expected failure a reftest that uses 'direction'. That property is behind the new --experimental flag. --- src/test/harness/reftest/reftest.rs | 4 ++-- src/test/ref/basic.list | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/harness/reftest/reftest.rs b/src/test/harness/reftest/reftest.rs index 7e6638a37d9..eea2d9a5c22 100644 --- a/src/test/harness/reftest/reftest.rs +++ b/src/test/harness/reftest/reftest.rs @@ -82,8 +82,8 @@ fn parse_lists(file: &String, servo_args: &[String]) -> Vec { }; for line in contents.as_slice().lines() { - // ignore comments - if line.starts_with("#") { + // ignore comments or empty lines + if line.starts_with("#") || line.is_empty() { continue; } diff --git a/src/test/ref/basic.list b/src/test/ref/basic.list index 65982c1faa9..b6e85d9a646 100644 --- a/src/test/ref/basic.list +++ b/src/test/ref/basic.list @@ -75,7 +75,10 @@ == pseudo_element_a.html pseudo_element_b.html == linebreak_simple_a.html linebreak_simple_b.html == linebreak_inline_span_a.html linebreak_inline_span_b.html -== overconstrained_block.html overconstrained_block_ref.html + +# Should be == with expected failure. See #2797 +!= overconstrained_block.html overconstrained_block_ref.html + == overflow_auto.html overflow_simple_b.html == overflow_scroll.html overflow_simple_b.html == overflow_simple_a.html overflow_simple_b.html