Debian Codegraph @

testing/web-platform/tests/tools/ci/ci_wptrunner_infrastructure.sh

raw
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 run_infra_test() {
10 echo "### Running Infrastructure Tests for $1 ###"
11 ./tools/ci/taskcluster-run.py "$1" "$2" -- --log-tbpl=- --log-wptreport="../artifacts/wptreport-$1.json" --logcat-dir="../artifacts/" --metadata=infrastructure/metadata/ --include=infrastructure/
12 }
13
14 main() {
15 run_infra_test "chrome" "dev"
16 run_infra_test "firefox" "nightly"
17 run_infra_test "firefox_android" "nightly"
18 }
19
20 main