Files
tubestation/testing/taskcluster/scripts/builder/build-shell-haz-linux.sh
Steve Fink 5634ecca1d Bug 1259848 followup - fix exec bit reverted by merge tool. r=woof!
DONTBUILD because it only affects try pushes right now.
2016-04-07 17:04:42 -07:00

37 lines
795 B
Bash
Executable File

#!/bin/bash -ex
# Ensure all the scripts in this dir are on the path....
DIRNAME=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
PATH=$DIRNAME:$PATH
WORKSPACE=$( cd "$1" && pwd )
export GECKO_DIR="$WORKSPACE/gecko"
export TOOLTOOL_DIR="$WORKSPACE"
export MOZ_OBJDIR="$WORKSPACE/obj-analyzed"
mkdir -p "$MOZ_OBJDIR"
install-packages.sh "$WORKSPACE"
. hazard-analysis.sh
. setup-ccache.sh
build_js_shell
# Artifacts folder is outside of the cache.
mkdir -p $HOME/artifacts/ || true
function onexit () {
grab_artifacts "$WORKSPACE/analysis" "$HOME/artifacts"
}
trap onexit EXIT
configure_analysis "$WORKSPACE/analysis"
run_analysis "$WORKSPACE/analysis" shell
check_hazards "$WORKSPACE/analysis"
################################### script end ###################################