Bug 926703 - Remove venv_mochitest.sh - use mach instead, r=mdas, DONTBUILD NPOTB
authorJonathan Griffin <jgriffin@mozilla.com>
Tue, 15 Oct 2013 09:29:21 -0700
changeset 164623 699f5c64f951a88bb83bdde7bb9ba8fa34e57155
parent 164622 ce463593acc656f1c7eb752d268b56faaab8e497
child 164624 fce96290655d5370baeaba311f9b0318bdbcbad5
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmdas, DONTBUILD
bugs926703
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 926703 - Remove venv_mochitest.sh - use mach instead, r=mdas, DONTBUILD NPOTB
testing/marionette/client/marionette/venv_mochitest.sh
deleted file mode 100644
--- a/testing/marionette/client/marionette/venv_mochitest.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this file,
-# You can obtain one at http://mozilla.org/MPL/2.0/.
-
-VIRTUAL_ENV_VERSION="49f40128a9ca3824ebf253eca408596e135cf893"
-
-PYTHON=$1
-
-# Store the current working directory so we can change back into it after
-# preparing the Marionette virtualenv
-CWD=$(pwd)
-
-if [ -z "${PYTHON}" ]
-then
-    echo "No python found"
-    exit 1
-fi
-
-# Determine the absolute path of our location.
-MARIONETTE_HOME=$(cd `dirname $0`/..; pwd)
-echo "Detected Marionette home in $MARIONETTE_HOME"
-
-# If a GECKO_OBJDIR environemnt variable exists, we will create the Python
-# virtual envirnoment there. Otherwise we create it in the PWD.
-VENV_DIR="mochitest_venv"
-if [ -z $GECKO_OBJDIR ]
-then
-    VENV_DIR="$MARIONETTE_HOME/$VENV_DIR"
-else
-    VENV_DIR="$GECKO_OBJDIR/$VENV_DIR"
-fi
-
-# Check if environment exists, if not, create a virtualenv:
-if [ -d $VENV_DIR ]
-then
-  echo "Using virtual environment in $VENV_DIR"
-else
-  echo "Creating a virtual environment in $VENV_DIR"
-  curl https://raw.github.com/pypa/virtualenv/${VIRTUAL_ENV_VERSION}/virtualenv.py | ${PYTHON} - $VENV_DIR
-fi
-. $VENV_DIR/bin/activate
-
-# Updating the marionette_client needs us to change into its package folder.
-# Otherwise the call to setup.py will hang
-cd $MARIONETTE_HOME
-python setup.py develop
-cd $CWD
-
-# pop off the python parameter
-shift
-
-TEST_PWD=${TEST_PWD:-$GECKO_OBJDIR/_tests/testing/mochitest}
-cd $TEST_PWD
-
-set -x
-python runtestsb2g.py $@