diff options
author | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2023-01-26 00:34:46 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-01-29 11:14:04 +0200 |
commit | 573ece1977621f5842d46c4068e6a87f3e0d3afb (patch) | |
tree | 12d4bafa3617043ba9f2469de28159d793e8884b /www-apps/hugo/files | |
parent | media-libs/netpbm: drop 10.86.35-r1 (diff) | |
download | gentoo-573ece1977621f5842d46c4068e6a87f3e0d3afb.tar.gz gentoo-573ece1977621f5842d46c4068e6a87f3e0d3afb.tar.bz2 gentoo-573ece1977621f5842d46c4068e6a87f3e0d3afb.zip |
www-apps/hugo: add 0.110.0
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps/hugo/files')
-rw-r--r-- | www-apps/hugo/files/hugo-0.110.0-skip-some-tests.patch | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/www-apps/hugo/files/hugo-0.110.0-skip-some-tests.patch b/www-apps/hugo/files/hugo-0.110.0-skip-some-tests.patch new file mode 100644 index 000000000000..3ed70afb80e7 --- /dev/null +++ b/www-apps/hugo/files/hugo-0.110.0-skip-some-tests.patch @@ -0,0 +1,78 @@ +From d2adde5cff8cca3feb630336e706fcb60bfffa7d Mon Sep 17 00:00:00 2001 +From: tastytea <tastytea@tastytea.de> +Date: Wed, 11 Jan 2023 19:30:15 +0100 +Subject: [PATCH] skip some tests + +reasons: + - needs to be in a git repo + - needs special test dependencies + - requires network access +--- + hugolib/page_test.go | 1 + + modules/client_test.go | 4 ++++ + resources/resource_factories/create/integration_test.go | 1 + + 3 files changed, 6 insertions(+) + +diff --git a/hugolib/page_test.go b/hugolib/page_test.go +index 1d9e3e34..e1b3920a 100644 +--- a/hugolib/page_test.go ++++ b/hugolib/page_test.go +@@ -995,6 +995,7 @@ func TestPageWithDate(t *testing.T) { + } + + func TestPageWithLastmodFromGitInfo(t *testing.T) { ++ t.Skip("We are not in a git repo") + if htesting.IsCI() { + // TODO(bep) figure out why this fails on GitHub actions. + t.Skip("Skip GitInfo test on CI") +diff --git a/modules/client_test.go b/modules/client_test.go +index 75e3c2b0..235d6ed3 100644 +--- a/modules/client_test.go ++++ b/modules/client_test.go +@@ -68,6 +68,7 @@ github.com/gohugoio/hugoTestModules1_darwin/modh2_2@v1.4.0 github.com/gohugoio/h + } + + c.Run("All", func(c *qt.C) { ++ c.Skip("Test dependencies not available") + client, clean := newClient(c, func(cfg *ClientConfig) { + cfg.ModuleConfig = DefaultModuleConfig + }, defaultImport) +@@ -107,6 +108,7 @@ project github.com/gohugoio/hugoTestModules1_darwin/modh2_2_2@v1.3.0+vendor + }) + + c.Run("IgnoreVendor", func(c *qt.C) { ++ c.Skip("Test dependencies not available") + client, clean := newClient( + c, func(cfg *ClientConfig) { + cfg.ModuleConfig = DefaultModuleConfig +@@ -125,6 +127,7 @@ project github.com/gohugoio/hugoTestModules1_darwin/modh2_2_2@v1.3.0+vendor + }) + + c.Run("NoVendor", func(c *qt.C) { ++ c.Skip("Test dependencies not available") + mcfg := DefaultModuleConfig + mcfg.NoVendor = "**" + client, clean := newClient( +@@ -144,6 +147,7 @@ project github.com/gohugoio/hugoTestModules1_darwin/modh2_2_2@v1.3.0+vendor + }) + + c.Run("VendorClosest", func(c *qt.C) { ++ c.Skip("Test dependencies not available") + mcfg := DefaultModuleConfig + mcfg.VendorClosest = true + +diff --git a/resources/resource_factories/create/integration_test.go b/resources/resource_factories/create/integration_test.go +index 2d9a700d..42185d9f 100644 +--- a/resources/resource_factories/create/integration_test.go ++++ b/resources/resource_factories/create/integration_test.go +@@ -20,6 +20,7 @@ import ( + ) + + func TestGetResourceHead(t *testing.T) { ++ t.Skip("Requires network access") + + files := ` + -- config.toml -- +-- +2.39.1 + |