diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 03:41:49 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 03:41:49 +0200 |
commit | 407fbebc2da14520942e0a6a9220a5a3cfc4a7ad (patch) | |
tree | e313ddad41398382f82cd27b40f46e0b7394c393 /tests/acceptance/run.sh | |
parent | 7d33bab5abd81871e4efcf995f8a715d45b9d590 (diff) |
rename businesslayer to service
Diffstat (limited to 'tests/acceptance/run.sh')
-rw-r--r-- | tests/acceptance/run.sh | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh deleted file mode 100644 index 2a6afbfd2..000000000 --- a/tests/acceptance/run.sh +++ /dev/null @@ -1,80 +0,0 @@ -# ownCloud - News -# -# @author Bernhard Posselt -# @copyright 2013 Bernhard Posselt dev@bernhard-posselt.com -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE -# License as published by the Free Software Foundation; either -# version 3 of the License, or any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU AFFERO GENERAL PUBLIC LICENSE for more details. -# -# You should have received a copy of the GNU Affero General Public -# License along with this library. If not, see <http://www.gnu.org/licenses/>. - - - -# set up rvm and xvfb dependencies -if [[ ! -e "/usr/bin/xvfb-run" ]]; then - - # archlinux - if [[ -e "/usr/bin/pacman" ]]; then - echo "installing xvfb, please enter password..." - sudo pacman -S xorg-server-xvfb - - # fedora - elif [[ -e "/usr/bin/yum" ]]; then - echo "installing xvfb, please enter password..." - yum install xorg-x11-server-Xvfb - - # debian - elif [[ -e "/usr/bin/apt-get" ]]; then - echo "installing xvfb, please enter password..." - sudo apt-get install xvfb - - else - echo "You have to install xvfb in order to run the test suite" - exit 1 - fi -fi - - -# dont use --user-install for gems since this breaks rvm. abort setup in case it -# exists -if [[ -e "/etc/gemrc" ]]; then - if grep -qe "^[^#].*user-install" /etc/gemrc; then - echo "Found --user-install in /etc/gemrc" - echo "Please remove it, as it will break rubygems in RVM." - exit 1 - fi -fi - -# set up rvm -if [[ -f "$HOME/.rvm/scripts/rvm" ]]; then - source "$HOME/.rvm/scripts/rvm" -elif [[ -f "/usr/local/rvm/scripts/rvm" ]]; then - source "/usr/local/rvm/scripts/rvm" -else - # set up a local rvm installation - curl -L get.rvm.io | bash -s stable - [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" -fi - - -# Set the gemset and ruby version -rvm install 2.0.0 -rvm use ruby-2.0.0@oc_news_acceptance --create - -# install dep libraries -bundle install - -# if the OWNCLOUD_HOST variable is not set it will default to localhost/owncloud -if [[ -z "$OWNCLOUD_HOST" ]]; then - export OWNCLOUD_HOST='localhost/owncloud' -fi - -cucumber -f json -o ./logs/owncloud.json -f pretty HOST=$OWNCLOUD_HOST features
\ No newline at end of file |