Add script to check for intermittent regressions

Fixes #12435
This commit is contained in:
Michael Howell 2016-07-27 17:31:48 -07:00
parent c2be1270d7
commit c71cb199f1
4 changed files with 35 additions and 0 deletions

View file

@ -27,6 +27,14 @@ mac-nightly:
- ./mach package --release - ./mach package --release
- ./etc/ci/upload_nightly.sh mac - ./etc/ci/upload_nightly.sh mac
linux-rel-intermittent:
- ./mach build --release
- ./etc/ci/check_intermittents.sh
mac-rel-intermittent:
- ./mach build --release
- ./etc/ci/check_intermittents.sh
linux-dev: linux-dev:
- ./mach test-tidy --no-progress --all - ./mach test-tidy --no-progress --all
- ./mach test-tidy --no-progress --self-test - ./mach test-tidy --no-progress --self-test

24
etc/ci/check_intermittents.sh Executable file
View file

@ -0,0 +1,24 @@
#!/usr/bin/env bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
set -o errexit
set -o nounset
set -o pipefail
REPEAT_COUNT=100
for test_type in wpt css; do
while read test_name; do
echo " - Checking ${test_name}"
./mach "test-${test_type}" \
--release \
--log-raw - \
--repeat "${REPEAT_COUNT}" \
"${test_name}" \
> intermittents.log \
< /dev/null
done < "etc/ci/former_intermittents_${test_type}.txt"
done

View file

@ -0,0 +1,3 @@
/css-transforms-1_dev/html/transform-table-007.htm
/css-transforms-1_dev/html/transform-abspos-002.htm
/css-transforms-1_dev/html/transform-abspos-007.htm

View file