tor-browser

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

linux-release-tests.sh (1021B)


      1 #!/usr/bin/env bash
      2 
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 # This must be run from the root webrender directory!
      8 # Users may set the CARGOFLAGS environment variable to pass
      9 # additional flags to cargo if desired.
     10 
     11 set -o errexit
     12 set -o nounset
     13 set -o pipefail
     14 set -o xtrace
     15 
     16 CARGOFLAGS=${CARGOFLAGS:-""}  # default to empty if not set
     17 
     18 python3 -m pip install -r $(dirname ${0})/requirements.txt
     19 
     20 pushd wrench
     21 # Test that all shaders compile successfully and pass tests.
     22 python3 script/headless.py --precache test_init
     23 python3 script/headless.py --precache --use-unoptimized-shaders test_init
     24 python3 script/headless.py test_shaders
     25 
     26 python3 script/headless.py reftest
     27 python3 script/headless.py rawtest
     28 python3 script/headless.py test_invalidation
     29 CXX=clang++ cargo run ${CARGOFLAGS} --release --features=software -- \
     30  --software --headless reftest
     31 popd