diff --git a/drydocker/roundcubemail/test_integration.sh b/drydocker/roundcubemail/test_integration.sh index 1fba42b..08afa8e 100755 --- a/drydocker/roundcubemail/test_integration.sh +++ b/drydocker/roundcubemail/test_integration.sh @@ -1,51 +1,54 @@ #!/bin/bash source /srv/stick.git/drydocker/generic_integration.sh # This installs Kolab Groupware retval=$(_shell generic_integration_install) # This sets up Kolab Groupware retval=$(_shell generic_integration_setup) set -x # The installed packages do not ship 'tests/' pushd /usr/share/roundcubemail/ rm -rf tests # Use cp, or tests in Roundcube will use /srv/roundcubemail.git as a # result of what physical file the symbolic links refer to. cp -a /srv/roundcubemail.git/tests tests # This is cheating T533 #sed -i -e 's/firefox/phantomjs/g' tests/Selenium/bootstrap.php popd # We cannot include firefox as a build dependency in the main package, # because OSC so epically fails at downloading the associated blob. # # Also, it should not be needed (T533) #yum -y install firefox chown apache /etc/roundcubemail/* egrep -- "\[testing\]" /etc/kolab/kolab.conf || \ cat >> /etc/kolab/kolab.conf << EOF [testing] roundcube_url = /roundcubemail/ roundcube_dir = /usr/share/roundcubemail develmode = false verbose = true phpunit_bin = /usr/bin/phpunit selenium_server_jar = /usr/local/lib/selenium-standalone-server.jar EOF pushd /srv/stick.git/integration/ -retval=$(_shell env NOSE_VERBOSE=2 nosetests -s R/all.py) + +# Temporarily suppress selenium tests +retval=$(_shell env NOSE_VERBOSE=2 nosetests R/all.py) +#retval=$(_shell env NOSE_VERBOSE=2 nosetests -s R/all.py) if [ ${retval} -ne 0 ]; then exit ${retval} fi popd