From d305e8aa8d48997f35847d632e46c13c173c0111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 13 Dec 2018 10:45:03 +0100 Subject: [PATCH 1/3] DO NOT MERGE: run `./wpt test-jobs --all` to see if it passes --- .azure-pipelines.yml | 2 +- tools/ci/ci_tools_unittest.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 2455ad8df12171..ca93e206536096 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -82,7 +82,7 @@ jobs: - script: | set -eux -o pipefail git fetch --depth 50 --quiet origin master - ./wpt test-jobs | while read job; do + ./wpt test-jobs --all | while read job; do echo "$job" echo "##vso[task.setvariable variable=$job;isOutput=true]true"; done diff --git a/tools/ci/ci_tools_unittest.sh b/tools/ci/ci_tools_unittest.sh index 8e16ee18decf02..36a2e54f7c2f28 100755 --- a/tools/ci/ci_tools_unittest.sh +++ b/tools/ci/ci_tools_unittest.sh @@ -18,7 +18,7 @@ run_applicable_tox () { export TOXENV="$OLD_TOXENV" } -if ./wpt test-jobs --includes tools_unittest; then +if ./wpt test-jobs --all --includes tools_unittest; then pip install --user -U tox cd tools run_applicable_tox @@ -27,7 +27,7 @@ else echo "Skipping tools unittest" fi -if ./wpt test-jobs --includes wptrunner_unittest; then +if ./wpt test-jobs --all --includes wptrunner_unittest; then cd tools/wptrunner run_applicable_tox cd $WPT_ROOT From 633c0ccf7ee2d5937258802453027ccf00a1b0c1 Mon Sep 17 00:00:00 2001 From: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com> Date: Wed, 29 Jun 2022 14:44:45 -0700 Subject: [PATCH 2/3] check candidate revision --- tools/wpt/browser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/wpt/browser.py b/tools/wpt/browser.py index ba716cd14f6d70..f9688122389eac 100644 --- a/tools/wpt/browser.py +++ b/tools/wpt/browser.py @@ -605,10 +605,10 @@ def _get_latest_chromium_revision(self): def _get_pinned_chromium_revision(self): """Returns the pinned Chromium revision number.""" - return get("https://storage.googleapis.com/wpt-versions/pinned_chromium_revision").text.strip() + return get("https://storage.googleapis.com/wpt-versions/pinned_chromium_revision_NEW").text.strip() - def _get_chromium_revision(self, filename=None, version=None): - """Retrieve a valid Chromium revision to download a browser component.""" + def _get_chromium_revision(self, filename, version=None): + """Format a Chromium Snapshots URL to download a browser component.""" # If a specific version is passed as an argument, we will use it. if version is not None: From f19daaedbb1681638e71785cb68ca1e3d301133b Mon Sep 17 00:00:00 2001 From: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com> Date: Thu, 11 Aug 2022 11:31:11 -0700 Subject: [PATCH 3/3] Update browser.py --- tools/wpt/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wpt/browser.py b/tools/wpt/browser.py index f9688122389eac..fdd2a62b95e1fd 100644 --- a/tools/wpt/browser.py +++ b/tools/wpt/browser.py @@ -607,7 +607,7 @@ def _get_pinned_chromium_revision(self): """Returns the pinned Chromium revision number.""" return get("https://storage.googleapis.com/wpt-versions/pinned_chromium_revision_NEW").text.strip() - def _get_chromium_revision(self, filename, version=None): + def _get_chromium_revision(self, filename=None, version=None): """Format a Chromium Snapshots URL to download a browser component.""" # If a specific version is passed as an argument, we will use it.