summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/wpt/commands.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/tools/wpt/commands.json
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/tools/wpt/commands.json')
-rw-r--r--testing/web-platform/tests/tools/wpt/commands.json95
1 files changed, 95 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/wpt/commands.json b/testing/web-platform/tests/tools/wpt/commands.json
new file mode 100644
index 0000000000..de825c79b7
--- /dev/null
+++ b/testing/web-platform/tests/tools/wpt/commands.json
@@ -0,0 +1,95 @@
+{
+ "run": {
+ "path": "run.py",
+ "script": "run",
+ "parser": "create_parser",
+ "help": "Run tests in a browser",
+ "virtualenv": true,
+ "requirements": [
+ "../manifest/requirements.txt",
+ "../wptrunner/requirements.txt"
+ ],
+ "conditional_requirements": {
+ "commandline_flag": {
+ "enable_webtransport_h3": [
+ "../webtransport/requirements.txt"
+ ]
+ }
+ }
+ },
+ "create": {
+ "path": "create.py",
+ "script": "run",
+ "parser": "get_parser",
+ "help": "Create a new wpt test"
+ },
+ "update-expectations": {
+ "path": "update.py",
+ "script": "update_expectations",
+ "parser": "create_parser_update",
+ "help": "Update expectations files from raw logs.",
+ "virtualenv": true,
+ "requirements": [
+ "../wptrunner/requirements.txt"
+ ]
+ },
+ "files-changed": {
+ "path": "testfiles.py",
+ "script": "run_changed_files",
+ "parser": "get_parser",
+ "help": "Get a list of files that have changed",
+ "virtualenv": false
+ },
+ "tests-affected": {
+ "path": "testfiles.py",
+ "script": "run_tests_affected",
+ "parser": "get_parser_affected",
+ "help": "Get a list of tests affected by changes",
+ "virtualenv": false
+ },
+ "install": {
+ "path": "install.py",
+ "script": "run",
+ "parser": "get_parser",
+ "help": "Install browser components",
+ "virtualenv": true,
+ "requirements": [
+ "requirements_install.txt"
+ ]
+ },
+ "branch-point": {
+ "path": "testfiles.py",
+ "script": "display_branch_point",
+ "parser": null,
+ "help": "Print branch point from master",
+ "virtualenv": false
+ },
+ "rev-list": {
+ "path": "revlist.py",
+ "script": "run_rev_list",
+ "parser": "get_parser",
+ "help": "List tagged revisions at regular intervals",
+ "virtualenv": false
+ },
+ "install-android-emulator": {
+ "path": "android.py",
+ "script": "run_install",
+ "parser": "get_parser_install",
+ "help": "Setup the x86 android emulator",
+ "virtualenv": true,
+ "requirements": [
+ "requirements.txt"
+ ]
+ },
+ "start-android-emulator": {
+ "path": "android.py",
+ "script": "run_start",
+ "parser": "get_parser_start",
+ "help": "Start the x86 android emulator",
+ "virtualenv": true,
+ "requirements": [
+ "requirements.txt",
+ "requirements_android.txt"
+ ]
+ }
+}