From 4a9e5c9e088ffb1d8c4bdc861e45ec25bd6d1f5e Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Tue, 5 Sep 2017 08:41:04 -0400 Subject: app-emulation/lxd: Fix the running of tests They still fail, but at least they run. This also removes our dependency on "golang-build" eclass. Closes:#5621 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- app-emulation/lxd/lxd-2.17.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app-emulation/lxd/lxd-2.17.ebuild b/app-emulation/lxd/lxd-2.17.ebuild index 910e0b58c9d9..4be344c8be22 100644 --- a/app-emulation/lxd/lxd-2.17.ebuild +++ b/app-emulation/lxd/lxd-2.17.ebuild @@ -47,7 +47,7 @@ KEYWORDS="~amd64" IUSE="+daemon +ipv6 nls test" -inherit bash-completion-r1 golang-build linux-info systemd user golang-vcs-snapshot +inherit bash-completion-r1 linux-info systemd user golang-vcs-snapshot SRC_URI="${ARCHIVE_URI} ${EGO_VENDOR_URI}" @@ -140,8 +140,10 @@ src_compile() { src_test() { if use daemon; then - # Go native tests should succeed - golang-build_src_test + export GOPATH="${S}" + cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir" + + emake check fi } -- cgit v1.2.3-18-g5258