Debian Codegraph @

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

raw
1 #!/bin/bash
2 set -e
3
4 SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P)
5 WPT_ROOT=$SCRIPT_DIR/../..
6 cd $WPT_ROOT
7
8 main() {
9 git fetch --quiet --unshallow https://github.com/web-platform-tests/wpt.git +refs/heads/*:refs/remotes/origin/*
10 pip install --user -U tox
11
12 # wpt commands integration tests
13 cd tools/wpt
14 tox
15 cd $WPT_ROOT
16
17 # WMAS test runner integration tests
18 cd tools/wave
19 tox
20 cd $WPT_ROOT
21 }
22
23 main