X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fceph-disk%2Frun-tox.sh;fp=src%2Fceph%2Fsrc%2Fceph-disk%2Frun-tox.sh;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=76935b9e1f7d4418d5d1c68a3ffc582f4fb6271e;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/ceph-disk/run-tox.sh b/src/ceph/src/ceph-disk/run-tox.sh deleted file mode 100755 index 76935b9..0000000 --- a/src/ceph/src/ceph-disk/run-tox.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2015 -# -# Author: Loic Dachary -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Library Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program 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 Library Public License for more details. -# - -# run from the ceph-disk directory or from its parent -: ${CEPH_DISK_VIRTUALENV:=/tmp/ceph-disk-virtualenv} -test -d ceph-disk && cd ceph-disk - -if [ -e tox.ini ]; then - TOX_PATH=`readlink -f tox.ini` -else - TOX_PATH=`readlink -f $(dirname $0)/tox.ini` -fi - -if [ -z $CEPH_BUILD_DIR ]; then - export CEPH_BUILD_DIR=$(dirname ${TOX_PATH}) -fi - -source ${CEPH_DISK_VIRTUALENV}/bin/activate -tox -c ${TOX_PATH}