Simplify test launch

This commit is contained in:
Michael Kuzmin 2018-03-24 00:54:08 +03:00
parent 6d2225f9de
commit bc673e1b2d
4 changed files with 6 additions and 16 deletions

View File

@ -1,4 +0,0 @@
#!/bin/sh
export PACKER_ACC=1
go test -v "$@"

View File

@ -1,4 +0,0 @@
#!/bin/sh
export VSPHERE_DRIVER_ACC=1
go test -v "$@"

View File

@ -1,4 +0,0 @@
#!/bin/sh
export PACKER_ACC=1
go test -v "$@"

10
test.sh
View File

@ -1,5 +1,7 @@
#!/bin/sh -e
#!/bin/sh
(cd driver && ./test.sh "$@")
(cd clone && ./test.sh "$@")
(cd iso && ./test.sh "$@")
set -eux
export PACKER_ACC=1
go test -v ./driver ./iso ./clone