Update items for Jenkins tests
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
:vms:
|
||||
- :name: mgmt1
|
||||
:shell:
|
||||
- apt-get install -y make
|
||||
- iptables -F
|
||||
- cd /vagrant/mgmt/ && make path
|
||||
- cd /vagrant/mgmt/ && make deps && make build && cp mgmt ~/bin/
|
||||
|
||||
@@ -6,10 +6,16 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
|
||||
cd "$DIR" >/dev/null # work from test directory
|
||||
|
||||
# vtest+ tests
|
||||
RET=0
|
||||
for i in omv/*.yaml; do
|
||||
echo "running: vtest+ $i"
|
||||
vtest+ "$i"
|
||||
if [ $? -ne 0 ]; then
|
||||
RET=1
|
||||
break # remove this if we should run all tests even if one fails
|
||||
fi
|
||||
done
|
||||
|
||||
# return to original dir
|
||||
cd "$CWD" >/dev/null
|
||||
exit $RET
|
||||
|
||||
Reference in New Issue
Block a user