From 56db12ff984541b374d6088eb1b396d822c0c154 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Wed, 4 Dec 2024 16:39:02 +1300 Subject: [PATCH] Mark tests that fail and use intrinsic size Signed-off-by: Nico Burns --- apps/wpt/src/main.rs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/apps/wpt/src/main.rs b/apps/wpt/src/main.rs index 7d08c8d1..e3d870e9 100644 --- a/apps/wpt/src/main.rs +++ b/apps/wpt/src/main.rs @@ -37,8 +37,9 @@ const SCALE: f64 = 1.0; bitflags! { pub struct TestFlags : u32 { const USES_FLOAT = 0b00000001; - const USES_DIRECTION = 0b00000010; - const USES_WRITING_MODE = 0b00000100; + const USES_INTRINSIC_SIZE = 0b00000010; + const USES_DIRECTION = 0b00000100; + const USES_WRITING_MODE = 0b00001000; } } @@ -173,6 +174,7 @@ struct ThreadCtx { reftest_re: Regex, attrtest_re: Regex, float_re: Regex, + intrinsic_re: Regex, direction_re: Regex, writing_mode_re: Regex, out_dir: PathBuf, @@ -217,6 +219,9 @@ impl TestResult { if self.flags.contains(TestFlags::USES_FLOAT) { write!(out, "{}", "F".bright_black()).unwrap(); } + if self.flags.contains(TestFlags::USES_INTRINSIC_SIZE) { + write!(out, "{}", "I".bright_black()).unwrap(); + } if self.flags.contains(TestFlags::USES_DIRECTION) { write!(out, "{}", "D".bright_black()).unwrap(); } @@ -293,6 +298,8 @@ fn main() { Regex::new(r#"