Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
33
gaia/tests/ci/unit-tests-coverage/before_script
Executable file
33
gaia/tests/ci/unit-tests-coverage/before_script
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
#! /bin/bash -v
|
||||
|
||||
# not using -e here because we use code failure for other things here.
|
||||
RETRY=30
|
||||
myself=`basename $0`
|
||||
|
||||
log() {
|
||||
echo "LOG $myself: $@"
|
||||
}
|
||||
|
||||
waiting_port() {
|
||||
log "Waiting for embedded httpd server on port $1..."
|
||||
for i in $(seq 1 $RETRY); do
|
||||
nc -z localhost $1
|
||||
if [ $? -eq 0 ]; then
|
||||
log "Success!"
|
||||
return
|
||||
fi
|
||||
log "Waited $i seconds."
|
||||
sleep 1
|
||||
done
|
||||
log "Failed :("
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "Starting test-agent-server"
|
||||
make test-agent-server &
|
||||
|
||||
echo 'Starting Firefox'
|
||||
|
||||
FIREFOX=`find firefox -name "firefox" | tail -n 1`
|
||||
$FIREFOX -profile `pwd`/profile-debug "http://test-agent.gaiamobile.org:8080" > /dev/null 2>&1 &
|
||||
waiting_port 8080
|
||||
Loading…
Reference in a new issue