Skip to content

Commit

Permalink
Check WPT manifest when running test-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos committed Jun 19, 2018
1 parent 5c4f54c commit 80c41b4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 22 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,6 @@ matrix:
- ./mach test-tidy --no-progress --self-test
- python ./etc/memory_reports_over_time.py --test
- bash etc/ci/check_no_panic.sh
- bash etc/ci/manifest_changed.sh
cache: false
- sudo: 9000
dist: trusty
Expand Down
8 changes: 0 additions & 8 deletions etc/ci/buildbot_steps.yml
Expand Up @@ -14,7 +14,6 @@ mac-rel-wpt1:
- ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default
- ./mach test-wpt --release --binary-arg=--multiprocess --processes 8 --log-raw test-wpt-mp.log --log-errorsummary wpt-mp-errorsummary.log eventsource
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh

mac-rel-wpt2:
- ./mach clean-nightlies --keep 3 --force
Expand Down Expand Up @@ -47,7 +46,6 @@ mac-dev-unit:
- python ./etc/memory_reports_over_time.py --test
- ./mach package --dev
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh

mac-rel-css1:
- ./mach clean-nightlies --keep 3 --force
Expand All @@ -56,7 +54,6 @@ mac-rel-css1:
- ./mach test-wpt --release --processes 4 --total-chunks 6 --this-chunk 5 --log-raw test-wpt.log --log-errorsummary wpt-errorsummary.log --always-succeed
- ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh

mac-rel-css2:
- ./mach clean-nightlies --keep 3 --force
Expand Down Expand Up @@ -112,7 +109,6 @@ linux-dev:
- ./mach package --dev
- ./mach build --dev --no-default-features --features default-except-unstable
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh
- bash ./etc/ci/check_no_panic.sh
- ./etc/ci/clean_build_artifacts.sh

Expand Down Expand Up @@ -142,7 +138,6 @@ linux-rel-css:
- ./mach test-wpt --release --processes 24 --total-chunks 2 --this-chunk 2 --log-raw test-wpt.log --log-errorsummary wpt-errorsummary.log --always-succeed
- ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh
- ./etc/ci/clean_build_artifacts.sh

linux-nightly:
Expand All @@ -162,7 +157,6 @@ android:
- env ANDROID_SDK=/home/servo/android/sdk/r25.2.3 ./mach build --android --dev
- env ANDROID_SDK=/home/servo/android/sdk/r25.2.3 ./mach package --android --dev
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh
- python ./etc/ci/check_dynamic_symbols.py

android-nightly:
Expand All @@ -177,14 +171,12 @@ arm32:
- ./mach clean-cargo-cache --keep 3 --force
- ./mach build --rel --target=arm-unknown-linux-gnueabihf
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh

arm64:
- ./mach clean-nightlies --keep 3 --force
- ./mach clean-cargo-cache --keep 3 --force
- ./mach build --rel --target=aarch64-unknown-linux-gnu
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh

windows-msvc-dev:
env:
Expand Down
11 changes: 0 additions & 11 deletions etc/ci/manifest_changed.sh

This file was deleted.

1 change: 0 additions & 1 deletion etc/ci/taskcluster-test.sh
Expand Up @@ -27,5 +27,4 @@ env ./mach test-unit
env ./mach package --dev
env ./mach build --dev --no-default-features --features default-except-unstable
bash ./etc/ci/lockfile_changed.sh
bash ./etc/ci/manifest_changed.sh
bash ./etc/ci/check_no_panic.sh
4 changes: 3 additions & 1 deletion python/servo/testing_commands.py
Expand Up @@ -319,7 +319,9 @@ def test_tidy(self, all_files, no_progress, self_test, stylo):
if self_test:
return test_tidy.do_tests()
else:
return tidy.scan(not all_files, not no_progress, stylo=stylo)
manifest_dirty = run_update(self.context.topdir, check_clean=True)
tidy_failed = tidy.scan(not all_files, not no_progress, stylo=stylo)
return tidy_failed or manifest_dirty

@Command('test-webidl',
description='Run the WebIDL parser tests',
Expand Down

0 comments on commit 80c41b4

Please sign in to comment.