HomeFreeBSD

Mk/Uses/go.mk: Add GO_TESTTARGET and provide default do-test

Description

Mk/Uses/go.mk: Add GO_TESTTARGET and provide default do-test

Add GO_TESTTARGET defaulting to ./... (the current package and all
subpackages) and create do-test target unless already provided by port's
Makefile.

Also, while here

  • remove GO_WRKDIR_SRC - it is not used by any port anymore
  • sync GO_PKGNAME and GO_TARGET descriptions with Porter's Handbook

Reviewed by: tobik
Differential Revision: https://reviews.freebsd.org/D22412

Details

Provenance
dmgkAuthored on
Reviewer
tobik
Differential Revision
D22412: Mk/Uses/go.mk: Add GO_TESTTARGET and provide default do-test (take #2)
Parents
rP526566: lang/rust-nightly: Update to 1.43.0.20200220
Branches
Unknown
Tags
Unknown