File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -338,6 +338,8 @@ const SCOPE_DIR_FX_PRIVATE_STR: &str = "testing/web-platform/mozilla";
338338const SCOPE_DIR_FX_PRIVATE_COMPONENTS : & [ & str ] = & [ "testing" , "web-platform" , "mozilla" ] ;
339339const SCOPE_DIR_FX_PUBLIC_STR : & str = "testing/web-platform" ;
340340const SCOPE_DIR_FX_PUBLIC_COMPONENTS : & [ & str ] = & [ "testing" , "web-platform" ] ;
341+ const SCOPE_DIR_SERVO_PUBLIC_STR : & str = "tests/wpt/webgpu" ;
342+ const SCOPE_DIR_SERVO_PUBLIC_COMPONENTS : & [ & str ] = & [ "tests" , "wpt" , "webgpu" ] ;
341343
342344impl < ' a > TestPath < ' a > {
343345 pub fn from_execution_report (
@@ -403,6 +405,8 @@ impl<'a> TestPath<'a> {
403405 ( TestScope :: FirefoxPrivate , path)
404406 } else if let Ok ( path) = rel_meta_file_path. strip_prefix ( SCOPE_DIR_FX_PUBLIC_STR ) {
405407 ( TestScope :: Public , path)
408+ } else if let Ok ( path) = rel_meta_file_path. strip_prefix ( SCOPE_DIR_SERVO_PUBLIC_STR ) {
409+ ( TestScope :: Public , path)
406410 } else {
407411 return Err ( err ( ) ) ;
408412 }
@@ -492,6 +496,7 @@ impl<'a> TestPath<'a> {
492496 } = self ;
493497
494498 let scope_dir = match scope {
499+ // TODO: servo
495500 TestScope :: Public => SCOPE_DIR_FX_PUBLIC_COMPONENTS ,
496501 TestScope :: FirefoxPrivate => SCOPE_DIR_FX_PRIVATE_COMPONENTS ,
497502 }
You can’t perform that action at this time.
0 commit comments