Skip to content

Commit

Permalink
Add script to check for intermittent regressions
Browse files Browse the repository at this point in the history
Fixes #12435
  • Loading branch information
notriddle committed Aug 10, 2016
1 parent c2be127 commit c71cb19
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
8 changes: 8 additions & 0 deletions etc/ci/buildbot_steps.yml
Expand Up @@ -27,6 +27,14 @@ mac-nightly:
- ./mach package --release
- ./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:
- ./mach test-tidy --no-progress --all
- ./mach test-tidy --no-progress --self-test
Expand Down
24 changes: 24 additions & 0 deletions etc/ci/check_intermittents.sh
@@ -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

3 changes: 3 additions & 0 deletions etc/ci/former_intermittents_css.txt
@@ -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
Empty file.

0 comments on commit c71cb19

Please sign in to comment.