Skip to content

Commit

Permalink
tests: set GOTOOLCHAIN var for report validation
Browse files Browse the repository at this point in the history
Set GOTOOLCHAIN directive in order to successfully run tests
from root. Else, go will try and download a family of releases
(of the form 1.x), which are not published binaries.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
  • Loading branch information
MadhavJivrajani committed Apr 23, 2024
1 parent ca39df1 commit 856847d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/robustness/makefile.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.PHONY: test-robustness-reports
test-robustness-reports: export GOTOOLCHAIN := go$(shell cat .go-version)
test-robustness-reports:
cd ./tests && go test ./robustness/validate -v --count 1 --run TestDataReports

Expand Down

0 comments on commit 856847d

Please sign in to comment.