tor-browser

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

linux-debug-tests.sh (1129B)


      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:-"--verbose"}  # default to --verbose if not set
     17 
     18 python3 -m pip install -r $(dirname ${0})/requirements.txt
     19 
     20 pushd webrender
     21 cargo build ${CARGOFLAGS} --no-default-features
     22 cargo build ${CARGOFLAGS} --no-default-features --features capture
     23 cargo build ${CARGOFLAGS} --features capture,profiler
     24 cargo build ${CARGOFLAGS} --features replay
     25 popd
     26 
     27 pushd wrench
     28 cargo build ${CARGOFLAGS} --features env_logger
     29 OPTIMIZED=0 python3 script/headless.py reftest
     30 popd
     31 
     32 pushd examples
     33 cargo build ${CARGOFLAGS}
     34 popd
     35 
     36 cargo test ${CARGOFLAGS} \
     37    --all --exclude compositor --exclude compositor-wayland \
     38    --exclude compositor-windows --exclude glsl-to-cxx --exclude swgl