diff options
author | Peter Portante <peter.portante@redhat.com> | 2013-07-08 14:11:15 -0400 |
---|---|---|
committer | Luis Pabon <lpabon@redhat.com> | 2013-07-08 12:10:30 -0700 |
commit | 8f46de60d8f2e535607250e72dfbef40f887bc27 (patch) | |
tree | 9a6f9ae82fb120de355562547a4df67719870437 /functests.sh | |
parent | 04c8e495f9197506522e353b2d27f343f450f935 (diff) |
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>
Diffstat (limited to 'functests.sh')
-rwxr-xr-x | functests.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/functests.sh b/functests.sh new file mode 100755 index 0000000..9797f58 --- /dev/null +++ b/functests.sh @@ -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)) |