tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ci_tools_unittest.sh (444B)


      1 #!/bin/bash
      2 set -ex
      3 
      4 SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P)
      5 WPT_ROOT=$SCRIPT_DIR/../..
      6 cd $WPT_ROOT
      7 
      8 if ./wpt test-jobs --includes tools_unittest; then
      9    pip install --user -U tox
     10    cd tools
     11    tox -f "$TOXENV"
     12    cd $WPT_ROOT
     13 else
     14    echo "Skipping tools unittest"
     15 fi
     16 
     17 if ./wpt test-jobs --includes wptrunner_unittest; then
     18    cd tools/wptrunner
     19    tox -f "$TOXENV"
     20    cd $WPT_ROOT
     21 else
     22    echo "Skipping wptrunner unittest"
     23 fi