From d4b8804abb876bda9803cee61c6c4298b475e6be Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Tue, 9 Aug 2016 14:25:31 +0530 Subject: Simplify packaging * Rename .unittests.sh to .unitests * Fix entries in MANIFEST.in file * Mover version declaration to gfapi.py TODO: Fix the spec file. That'll be sent as a separate change. Change-Id: I0cba8964c1ecc337128c8edc9f301fc1d023bd28 Signed-off-by: Prashanth Pai --- .unittests | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .unittests (limited to '.unittests') diff --git a/.unittests b/.unittests new file mode 100755 index 0000000..70e1c05 --- /dev/null +++ b/.unittests @@ -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 -- cgit