summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2019-11-07 12:24:43 +0000
committerMarek Szuba <marecki@gentoo.org>2019-11-07 12:26:01 +0000
commitbb5222d980dca601d08430aeff584588dac305a1 (patch)
tree01dc1982681dcbb854b22a46e2bba95f17bf1f10 /net-p2p/syncthing
parentwww-client/opera-developer: Old (diff)
downloadgentoo-bb5222d980dca601d08430aeff584588dac305a1.tar.gz
gentoo-bb5222d980dca601d08430aeff584588dac305a1.tar.bz2
gentoo-bb5222d980dca601d08430aeff584588dac305a1.zip
net-p2p/syncthing-1.3.1: temporarily restrict tests if USE=tools is set
For some reason the switch to go-module.eclass has resulted in the following test failure appearing repeatedly when USE=tools is set: --- FAIL: TestAPIServiceRequests (5.45s) api_test.go:394: Testing /rest/db/completion?device=<snip> api_test.go:394: Testing /rest/db/file?folder=default&file=something ... api_test.go:394: Testing /rest/db/ignores?folder=default ... api_test.go:394: Testing /rest/db/need?folder=default ... api_test.go:394: Testing /rest/db/status?folder=default ... api_test.go:394: Testing /rest/db/browse?folder=default ... api_test.go:394: Testing /rest/stats/device ... api_test.go:394: Testing /rest/stats/folder ... api_test.go:394: Testing /rest/svc/deviceid?id=<snip> api_test.go:394: Testing /rest/svc/lang ... api_test.go:394: Testing /rest/svc/report ... api_test.go:419: Unexpected error requesting /rest/svc/report: Get http://127.0.0.1:36607/rest/svc/report: net/http: request canceled (Client.Timeout exceeded while awaiting headers) api_test.go:394: Testing /rest/system/browse?current=~ ... api_test.go:394: Testing /rest/system/config ... api_test.go:394: Testing /rest/system/config/insync ... api_test.go:394: Testing /rest/system/connections ... api_test.go:394: Testing /rest/system/discovery ... api_test.go:394: Testing /rest/system/error?since=0 ... api_test.go:394: Testing /rest/system/ping ... api_test.go:394: Testing /rest/system/status ... api_test.go:394: Testing /rest/system/version ... api_test.go:394: Testing /rest/system/debug ... api_test.go:394: Testing /rest/system/log?since=0 ... api_test.go:394: Testing /rest/system/log.txt?since=0 ... FAIL FAIL github.com/syncthing/syncthing/lib/api 66.295s This may or may not be a consequence of the fact Syncthing upstream doesn't fully support go-1.13 yet, as shown by the fact their CI configuration uses the very-much-not-recommended workaround of deleting go.sum. Anyway, since the tests pass with USE=-tools and there have been requests for Syncthing ebuilds with go-1.13 support, disable testing when USE=tools is set until the problem has been resolved. Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-p2p/syncthing')
-rw-r--r--net-p2p/syncthing/syncthing-1.3.1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-p2p/syncthing/syncthing-1.3.1.ebuild b/net-p2p/syncthing/syncthing-1.3.1.ebuild
index 8f0e558ef16..7fb9fed4738 100644
--- a/net-p2p/syncthing/syncthing-1.3.1.ebuild
+++ b/net-p2p/syncthing/syncthing-1.3.1.ebuild
@@ -77,6 +77,12 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="selinux tools"
+# For some reason the switch to go-module.eclass has resulted in the test suite
+# failing when USE=tools is set. Temporarily disable testing under such circumstances
+# so that there is a a working go1.13-compatible version out there already, will
+# continue to look into this.
+RESTRICT="tools? ( test )"
+
RDEPEND="acct-group/syncthing
acct-user/syncthing
tools? ( acct-group/stdiscosrv