swiftonhpss/functests.sh
Peter Portante 8f46de60d8 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>
2013-07-08 12:10:30 -07:00

16 lines
197 B
Bash
Executable File

#!/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))