ci_wptrunner_infrastructure.sh (496B)
1 #!/bin/bash 2 set -ex 3 4 REL_DIR_NAME=$(dirname "$0") 5 SCRIPT_DIR=$(cd "$REL_DIR_NAME" && pwd -P) 6 WPT_ROOT=$SCRIPT_DIR/../.. 7 cd "$WPT_ROOT" 8 9 BROWSER="$1" 10 CHANNEL="$2" 11 12 run_infra_test() { 13 echo "### Running Infrastructure Tests for $1 ###" 14 ./tools/ci/taskcluster-run.py "$1" "$2" -- --log-tbpl=- --log-wptreport="../artifacts/wptreport-$1.json" --logcat-dir="../artifacts/" --metadata=infrastructure/metadata/ --include=infrastructure/ 15 } 16 17 main() { 18 run_infra_test "$BROWSER" "$CHANNEL" 19 } 20 21 main