From c21f599b05ccc6808d73040417592a40467ca95d Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Wed, 25 Sep 2019 12:41:02 -0400 Subject: [PATCH] Clean up test results as part of WPT sync. --- etc/ci/update-wpt-checkout | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/ci/update-wpt-checkout b/etc/ci/update-wpt-checkout index d0e603c1353..2b20fb0d058 100755 --- a/etc/ci/update-wpt-checkout +++ b/etc/ci/update-wpt-checkout @@ -48,8 +48,11 @@ function unsafe_pull_from_upstream() { # Update the manifest again to reach a fixed state (https://github.com/servo/servo/issues/22275). ./mach update-manifest || return 4 + # Clean up any now-unused test results. + (python3 etc/unused_wpt_results.py | xargs rm -rfv) || return 5 + # Amend the existing commit with the new changes from updating the manifest. - git commit -a --amend --no-edit || return 5 + git commit -a --amend --no-edit || return 6 } # Remove all local traces of this sync operation.