Permalink
Browse files

Added shebang statements, some docs to config. Fixed path to runemu.py

  • Loading branch information...
1 parent 5faad20 commit 2d925dc300e882a07fc0e89bbabf014dcf8fc86a @lightsofapollo lightsofapollo committed May 16, 2012
Showing with 11 additions and 1 deletion.
  1. +6 −0 tools/ci/unit/config.sh
  2. +3 −1 tools/ci/unit/emulator.sh
  3. +2 −0 tools/ci/unit/test.sh
View
@@ -1,15 +1,21 @@
+#!/bin/bash
+
+# Location of the B2G REPO
if [ -z "$B2G_HOME" ];
then
echo "B2G_HOME must be set";
exit 1;
fi
+# Websocket server location:
+# example: ws://localhost:8789
if [ -z "$TEST_AGENT_SERVER" ];
then
echo "TEST_AGENT_SERVER must be set";
exit 1;
fi
+# File to use for test output
if [ -z "$TEST_OUTPUT"];
then
TEST_OUTPUT=$B2G_HOME/test-output.xml;
@@ -1,3 +1,5 @@
+#!/bin/bash
+
CI_TOOLS=$PWD;
source $PWD/config.sh
@@ -13,7 +15,7 @@ rm -f gaia/profile.tar.gz
DOMAIN=http://test-agent.trunk.gaiamobile.org/index.html#?websocketUrl=$TEST_AGENT_SERVER
echo "Starting Emulator";
-./gecko/testing/marionette/client/marionette/runemu.sh \
+./gecko/testing/marionette/client/marionette/scripts/runemu.sh \
python --repo $B2G_HOME \
--pidfile $B2G_HOME/emulator.pid \
--url $DOMAIN;
View
@@ -1,3 +1,5 @@
+#!/bin/bash
+
cd $B2G_HOME/gaia
# start test agent server put it in the background

0 comments on commit 2d925dc

Please sign in to comment.