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:
parent
04c8e495f9
commit
8f46de60d8
15
functests.sh
Executable file
15
functests.sh
Executable 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))
|
Loading…
x
Reference in New Issue
Block a user