Add simple script for running func tests

Change-Id: I82334842309510b5d5767944ec563e5e70ae32df
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/5300
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
This commit is contained in:
Peter Portante 2013-07-08 14:11:15 -04:00 committed by Luis Pabon
parent 04c8e495f9
commit 8f46de60d8
1 changed files with 15 additions and 0 deletions

15
functests.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
SRC_DIR=$(dirname $0)
cd ${SRC_DIR}/test/functional
nosetests --exe $@
func1=$?
cd -
cd ${SRC_DIR}/test/functionalnosetests
nosetests --exe $@
func2=$?
cd -
exit $((func1 + func2))