Skip to content

Commit

Permalink
* make test and make testacc file filter update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhang3 committed Jul 15, 2020
1 parent ef7f434 commit 84ad295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
TEST?=$$(go list ./... |grep -v 'vendor')
TEST?=$$(go list ./azuredevops/internal/acceptancetests |grep -v 'vendor')
UNITTEST?=$$(go list ./... |grep -v 'vendor')
WEBSITE_REPO=github.com/hashicorp/terraform-website
PKG_NAME=azuredevops
TESTTIMEOUT=180m
Expand Down Expand Up @@ -39,8 +40,8 @@ lint:
$(GOPATH)/bin/golangci-lint run ./...

test: fmtcheck
go test -tags "all" -i $(TEST) || exit 1
echo $(TEST) | \
go test -tags "all" -i $(UNITTEST) || exit 1
echo $(UNITTEST) | \
xargs -t -n4 go test -tags "all" $(TESTARGS) -timeout=30s -parallel=4

testacc: fmtcheck
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func TestAccBranchPolicy_CreateAndUpdate(t *testing.T) {
buildVlidationTfNode := "azuredevops_branch_policy_build_validation.p"
autoReviewerTfNode := "azuredevops_branch_policy_auto_reviewers.p"

fmt.Println(getHCL(opts1))
resource.Test(t, resource.TestCase{
PreCheck: func() { testutils.PreCheck(t, &[]string{"AZDO_TEST_AAD_USER_EMAIL"}) },
Providers: testutils.GetProviders(),
Expand Down

0 comments on commit 84ad295

Please sign in to comment.