blob: f1d0389b2d6f4f8d3ad9e34d3d23175a5ae5df3c [file] [log] [blame]
#!/bin/bash
set -ex
SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P)
WPT_ROOT=$SCRIPT_DIR/../..
cd $WPT_ROOT
source tools/ci/lib.sh
main() {
hosts_fixup
cd $WPT_ROOT
pip install -U tox
./wpt install firefox browser --destination $HOME
./wpt install firefox webdriver --destination $HOME/firefox
export PATH=$HOME/firefox:$PATH
cd $WPT_ROOT/resources/test
tox -- --binary=$HOME/browsers/nightly/firefox/firefox
}
main