From bfcc71228d3bce8ae7e21911cf1960a823acc565 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 12 Sep 2013 14:15:30 +0000 Subject: [PATCH] Remove bin/tempest script The bin/tempest script was just an out of date copy of run_tests.sh. There is no reason to keep 2 copies of the same script around so this commit just removes the copy in bin. Change-Id: I91bacade03d0b503d9c729b76048aa67f5f209fa --- bin/tempest | 52 ---------------------------------------------------- setup.cfg | 4 ---- 2 files changed, 56 deletions(-) delete mode 100755 bin/tempest diff --git a/bin/tempest b/bin/tempest deleted file mode 100755 index 87ba6d5010..0000000000 --- a/bin/tempest +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/env bash - -function usage { - echo "Usage: $0 [OPTION]..." - echo "Run Tempest test suite" - echo "" - echo " -s, --smoke Only run smoke tests" - echo " -w, --whitebox Only run whitebox tests" - echo " -h, --help Print this usage message" - echo " -d. --debug Debug this script -- set -o xtrace" - exit -} - -function process_option { - case "$1" in - -h|--help) usage;; - -d|--debug) set -o xtrace;; - -s|--smoke) noseargs="$noseargs --attr=type=smoke";; - -w|--whitebox) noseargs="$noseargs --attr=type=whitebox";; - *) noseargs="$noseargs $1" - esac -} - -noseargs="" - -export NOSE_WITH_OPENSTACK=1 -export NOSE_OPENSTACK_COLOR=1 -export NOSE_OPENSTACK_RED=15.00 -export NOSE_OPENSTACK_YELLOW=3.00 -export NOSE_OPENSTACK_SHOW_ELAPSED=1 -export NOSE_OPENSTACK_STDOUT=1 - -for arg in "$@"; do - process_option $arg -done - - -# only add tempest default if we don't specify a test -if [[ "x$noseargs" =~ "tempest" ]]; then - noseargs="$noseargs" -else - noseargs="$noseargs tempest" -fi - - -function run_tests { - $NOSETESTS -} - -NOSETESTS="nosetests $noseargs" - -run_tests || exit diff --git a/setup.cfg b/setup.cfg index 7cfc4ce013..a4cf118bf8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,10 +21,6 @@ classifier = setup-hooks = pbr.hooks.setup_hook -[files] -scripts = - bin/tempest - [build_sphinx] all_files = 1 build-dir = doc/build