Commit 4c37bef7 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "test/behat/mahara_behat.sh: Script updates to work better with Jenkins"

parents e330d3ed c5f9f0a8
#!/bin/bash
# Quit on error
set -e
function is_selenium_running {
res=$(curl -o /dev/null --silent --write-out '%{http_code}\n' http://localhost:4444/wd/hub/status)
if [[ $res == "200" ]]; then
......@@ -92,9 +95,9 @@ then
if [ "$TAGS" ]
then
./external/vendor/bin/behat --config $BEHATCONFIGFILE --ansi --tags $TAGS
./external/vendor/bin/behat --config $BEHATCONFIGFILE --tags $TAGS
else
./external/vendor/bin/behat --config $BEHATCONFIGFILE --ansi
./external/vendor/bin/behat --config $BEHATCONFIGFILE
fi
echo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment