From 41de35952598e260262ffccfe73a6d88632e621e Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 24 Mar 2023 14:39:13 +0100 Subject: [PATCH] Give some more guidance around import-w3c-tests Make it clearer how to checkout web-platform-tests/wpt locally and how to use -s. --- docs/Infrastructure/ImportWPTTests.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Infrastructure/ImportWPTTests.md b/docs/Infrastructure/ImportWPTTests.md index ded387bb..12a93089 100644 --- a/docs/Infrastructure/ImportWPTTests.md +++ b/docs/Infrastructure/ImportWPTTests.md @@ -19,3 +19,5 @@ If you have the upstream WPT repository locally you can skip redownloading it by ``` Tools/Scripts/import-w3c-tests web-platorm-tests/folder_to_import_here -l -s path_to_web_platform_tests ``` + +Important: your checkout of WPT needs to be in a directory named `web-platform-tests` and the path passed to `-s` should not include that directory. I.e., if your checkout is at `~/web-platform-tests` you pass `-s ~`. `import-w3c-tests` will unfortunately not complain if you got this wrong.