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

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