diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-09-09 13:42:29 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@coreboot.org> | 2021-11-24 20:16:48 +0000 |
commit | 673716deddbd18d03db83defddea98af687f3570 (patch) | |
tree | 1d987f131c9e1e44dd5807007c251646dad3beb7 /src/superio/common/conf_mode.c | |
parent | 05c6d65308d19401c8c490412ce48c10b8a00531 (diff) |
util/testing: Give meaningful error if intel-sec-tools aren't around
Without manual handling, when 3rdparty/intel-sec-tools isn't around,
`make what-jenkins-does` reports only
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
which isn't meaningful or actionable. Instead check that the go.mod file
exists and bail out with a better error message before trying to run
`go mod vendor`.
Change-Id: I035747746ca5fd54841bd67352044dde12a28185
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57527
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/superio/common/conf_mode.c')
0 files changed, 0 insertions, 0 deletions