tor-browser

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

run_tests.sh (579B)


      1 #!/usr/bin/env bash
      2 
      3 set -v -e -x
      4 
      5 # Set up the toolchain.
      6 source $(dirname $0)/setup.sh
      7 
      8 # Fetch artifact.
      9 if [ "$TASKCLUSTER_ROOT_URL" = "https://taskcluster.net" ] || [ -z "$TASKCLUSTER_ROOT_URL" ]; then
     10    url=https://queue.taskcluster.net/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z
     11 else
     12    url=$TASKCLUSTER_ROOT_URL/api/queue/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z
     13 fi
     14 
     15 wget -t 3 --retry-connrefused -w 5 --random-wait $url -O dist.7z
     16 7z x dist.7z
     17 
     18 export DIST=${PWD}/dist
     19 
     20 cp -a "${VCS_PATH}/nss" .
     21 
     22 # Run tests.
     23 cd nss/tests && ./all.sh