Skip to content

Commit

Permalink
Bump sdk, improve test, add testing with coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Dainius Serplis <[email protected]>
  • Loading branch information
Didainius committed Nov 14, 2024
1 parent 8adc43a commit 231576b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ testextnetwork: fmtcheck
# Runs the acceptance test for tm
testtm: fmtcheck
@sh -c "'$(CURDIR)/scripts/runtest.sh' tm"
# Runs the acceptance test for tm with coverage
testtm-coverage: fmtcheck
@sh -c "'$(CURDIR)/scripts/runtest.sh' tm-coverage"


testtm-binary-prepare: install
cd vcd && go test -tags tm -vcd-add-provider -vcd-short -v .
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ require (
)

//replace github.com/vmware/go-vcloud-director/v3 => github.com/Didainius/go-vcloud-director/v3 v2.12.1-0.20211018060826-c7f8ab32330e
replace github.com/vmware/go-vcloud-director/v3 => github.com/Didainius/go-vcloud-director/v3 v3.0.0-alpha.4.0.20241113110058-6fac2015cb0e
replace github.com/vmware/go-vcloud-director/v3 => github.com/Didainius/go-vcloud-director/v3 v3.0.0-alpha.4.0.20241114105922-9956f914712c
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
github.com/Didainius/go-vcloud-director/v3 v3.0.0-alpha.4.0.20241113110058-6fac2015cb0e h1:s8TN8MTZO18+u0g4I/KoL+8QiGxDawelFjN/GWAn4ZE=
github.com/Didainius/go-vcloud-director/v3 v3.0.0-alpha.4.0.20241113110058-6fac2015cb0e/go.mod h1:68KHsVns52dsq/w5JQYzauaU/+NAi1FmCxhBrFc/VoQ=
github.com/Didainius/go-vcloud-director/v3 v3.0.0-alpha.4.0.20241114105922-9956f914712c h1:k6buPgLDSONdy5mR8t75IiH8ZdNE0i3nhPXTFb0SGn8=
github.com/Didainius/go-vcloud-director/v3 v3.0.0-alpha.4.0.20241114105922-9956f914712c/go.mod h1:68KHsVns52dsq/w5JQYzauaU/+NAi1FmCxhBrFc/VoQ=
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg=
Expand Down
3 changes: 3 additions & 0 deletions scripts/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,9 @@ case $wanted in
tm)
acceptance_test tm
;;
tm-coverage)
acceptance_test tm "-coverprofile=tm.cover"
;;
network)
acceptance_test network
;;
Expand Down

0 comments on commit 231576b

Please sign in to comment.