Backed out changeset 5b48be011a93 (bug 1250709)

--HG--
extra : rebase_source : 5f95c8a73fb6302fa3898691c7bde93b7a5bebcb
This commit is contained in:
Steve Fink 2016-03-14 21:58:25 -07:00
Родитель 0e33cb9494
Коммит 3afb19a035
4 изменённых файлов: 7 добавлений и 103 удалений

Просмотреть файл

@ -1,6 +1,9 @@
#!/bin/bash -ex
#!/bin/sh
mkdir -p "$MOZ_OBJDIR"
cd "$MOZ_OBJDIR"
"$GECKO_DIR"/js/src/configure --enable-debug --enable-optimize --enable-stdcxx-compat --enable-ctypes --enable-nspr-build
set -e
set -x
[ -d $ANALYZED_OBJDIR ] || mkdir $ANALYZED_OBJDIR
cd $ANALYZED_OBJDIR
$SOURCE/js/src/configure --enable-debug --enable-optimize --enable-stdcxx-compat --enable-ctypes --with-system-nspr
make -j12 -s

Просмотреть файл

@ -1,35 +0,0 @@
#!/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 MOZ_OBJDIR="$WORKSPACE/obj-analyzed"
mkdir -p "$MOZ_OBJDIR"
install-packages.sh "$GECKO_DIR"
. 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 ###################################

Просмотреть файл

@ -81,12 +81,6 @@ builds:
types:
debug:
task: tasks/builds/haz_linux.yml
linux64-shell-haz:
platforms:
- Linux64
types:
debug:
task: tasks/builds/haz_shell_linux.yml
macosx64:
platforms:
- MacOSX64

Просмотреть файл

@ -1,58 +0,0 @@
$inherits:
from: 'tasks/builds/firefox_base.yml'
variables:
build_name: 'shell-haz'
build_type: 'debug'
task:
metadata:
name: '[TC] JS Shell Hazard Linux'
description: JS Shell Hazard Analysis Linux
workerType: dbg-linux64
scopes:
- 'docker-worker:cache:tooltool-cache'
- 'docker-worker:relengapi-proxy:tooltool.download.public'
- 'docker-worker:cache:level-{{level}}-{{project}}-build-linux64-haz-workspace'
payload:
cache:
level-{{level}}-{{project}}-build-linux64-haz-workspace: '/home/worker/workspace'
tooltool-cache: '/home/worker/tools/tooltool-cache'
features:
relengAPIProxy: true
env:
TOOLTOOL_CACHE: '/home/worker/tools/tooltool-cache'
TOOLTOOL_MANIFEST: 'browser/config/tooltool-manifests/linux64/hazard.manifest'
maxRunTime: 36000
command:
- /bin/bash
- -c
- >
tc-vcs checkout workspace/gecko "$GECKO_BASE_REPOSITORY" "$GECKO_HEAD_REPOSITORY" "$GECKO_HEAD_REV" "$GECKO_HEAD_REF" &&
cd ./workspace/gecko/testing/taskcluster/scripts/builder &&
./build-shell-haz-linux.sh $HOME/workspace
extra:
treeherderEnv:
- production
- staging
treeherder:
machine:
# see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
platform: linux64
groupSymbol: SM-tc
groupName: SpiderMonkey, submitted by taskcluster
symbol: H
collection:
debug: true
# Rather then enforcing particular conventions we require that all build
# tasks provide the "build" extra field to specify where the build and tests
# files are located.
locations:
build: null
tests: null