Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

tests: update script to run within gopath #261

Merged
merged 1 commit into from
Apr 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ fi

export GO15VENDOREXPERIMENT=1
export GOPATH=${DIR}/gopath
REPO_GOPATH="${GOPATH}/src/${REPO_PATH}"

cd "${REPO_GOPATH}"

go vet ./pkg/...
go vet ./lib/...
Expand All @@ -25,7 +28,7 @@ go test -v ${REPO_PATH}/lib/common

DOCKER2ACI=../bin/docker2aci
PREFIX=docker2aci-tests
TESTDIR=$(dirname $(realpath $0))
TESTDIR="${REPO_GOPATH}/tests/"
RKTVERSION=v1.1.0

cd $TESTDIR
Expand Down