taskcluster/scripts/builder/build-sm.sh
author kearwood
Fri, 02 Sep 2016 14:45:54 -0700
changeset 356383 89b9735661b9f19ece9b6a2bb54b1c50d0556b34
parent 347722 4126bd41ce8b12ecbb4bc2ec510bba009017a035
child 451092 ca3090e98b003bc5d6d514751f2143071e2dfbe4
permissions -rwxr-xr-x
Bug 1288193 - Ensure that the content process receives the presentation status of a VRDisplay immediately after adding or removing layers r=gw280 - Corrects issues with the onvrdisplaypresentationchange events being delayed by up to 5 seconds. - Caused a delay to enter or exit WebVR presentation on many sites. MozReview-Commit-ID: 2LACZNwKIxW

#!/bin/bash

set -x

source $(dirname $0)/sm-tooltool-config.sh

: ${PYTHON:=python2.7}

# Run the script
export MOZ_UPLOAD_DIR="$UPLOAD_DIR"
AUTOMATION=1 $PYTHON $SRCDIR/js/src/devtools/automation/autospider.py $SPIDERMONKEY_VARIANT
BUILD_STATUS=$?

# Ensure upload dir exists
mkdir -p $UPLOAD_DIR

# Copy artifacts for upload by TaskCluster
cp -rL $SRCDIR/obj-spider/dist/bin/{js,jsapi-tests,js-gdb.py} $UPLOAD_DIR

exit $BUILD_STATUS