From 5d09981197e5f13003b05f9c1bc7f67141c068f7 Mon Sep 17 00:00:00 2001 From: Thiago da silva Date: Thu, 4 Aug 2016 10:33:24 -0400 Subject: renamed unittests.sh to match func tests script Also, added .gitreview to make it easy to setup git-review Change-Id: Ie3b3471b157e8fa8ccee73d0d91c03cdfef07d10 Signed-off-by: Thiago da silva --- .gitreview | 4 ++++ .unittests.sh | 15 +++++++++++++++ unittests.sh | 15 --------------- 3 files changed, 19 insertions(+), 15 deletions(-) create mode 100755 .unittests.sh delete mode 100755 unittests.sh diff --git a/.gitreview b/.gitreview index 6b69219..b3306b0 100644 --- a/.gitreview +++ b/.gitreview @@ -1,2 +1,6 @@ [gerrit] +host=review.gluster.org +port=29418 +project=libgfapi-python.git defaultbranch=master +defaultremote=gerrit diff --git a/.unittests.sh b/.unittests.sh new file mode 100755 index 0000000..70e1c05 --- /dev/null +++ b/.unittests.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# +# Copyright (c) 2016 Red Hat, Inc. +# +# This file is licensed to you under your choice of the GNU Lesser +# General Public License, version 3 or any later version (LGPLv3 or +# later), or the GNU General Public License, version 2 (GPLv2), in all +# cases as published by the Free Software Foundation. + +cd $(dirname $0)/test/unit +nosetests -v --exe --with-coverage --cover-package gluster --cover-erase --cover-html --cover-branches $@ + +saved_status=$? +rm -f .coverage +exit $saved_status diff --git a/unittests.sh b/unittests.sh deleted file mode 100755 index 70e1c05..0000000 --- a/unittests.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2016 Red Hat, Inc. -# -# This file is licensed to you under your choice of the GNU Lesser -# General Public License, version 3 or any later version (LGPLv3 or -# later), or the GNU General Public License, version 2 (GPLv2), in all -# cases as published by the Free Software Foundation. - -cd $(dirname $0)/test/unit -nosetests -v --exe --with-coverage --cover-package gluster --cover-erase --cover-html --cover-branches $@ - -saved_status=$? -rm -f .coverage -exit $saved_status -- cgit