public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/hugo/, www-apps/hugo/files/
Date: Sat, 25 Jun 2022 02:50:30 +0000 (UTC)	[thread overview]
Message-ID: <1656125421.261411be21e0625b89be16ff906e2a2102341406.sam@gentoo> (raw)

commit:     261411be21e0625b89be16ff906e2a2102341406
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed Jun  8 00:19:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 02:50:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=261411be

www-apps/hugo: Increase test timeout

The default test page building timeout is 1 minute, that's a bit too low
for slower computers.

Closes: https://bugs.gentoo.org/850313
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-apps/hugo/files/hugo-0.99.1-test-timeout.patch | 25 ++++++++++++++++++++++
 www-apps/hugo/hugo-0.99.1.ebuild                   |  1 +
 2 files changed, 26 insertions(+)

diff --git a/www-apps/hugo/files/hugo-0.99.1-test-timeout.patch b/www-apps/hugo/files/hugo-0.99.1-test-timeout.patch
new file mode 100644
index 000000000000..dc0f4898fcf6
--- /dev/null
+++ b/www-apps/hugo/files/hugo-0.99.1-test-timeout.patch
@@ -0,0 +1,25 @@
+From 92ceabab139262750cc6b61ffc3a6341dedfbbd4 Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Wed, 8 Jun 2022 04:10:27 +0200
+Subject: [PATCH] Set default test timeout to 2 minutes
+
+Bug: https://bugs.gentoo.org/850313
+---
+ config/configProvider.go | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/config/configProvider.go b/config/configProvider.go
+index 01a2e8c5..c8f199eb 100644
+--- a/config/configProvider.go
++++ b/config/configProvider.go
+@@ -57,6 +57,7 @@ func SetBaseTestDefaults(cfg Provider) Provider {
+ 	setIfNotSet(cfg, "publishDir", "public")
+ 	setIfNotSet(cfg, "workingDir", "")
+ 	setIfNotSet(cfg, "defaultContentLanguage", "en")
++	setIfNotSet(cfg, "timeout", "2m")
+ 	return cfg
+ }
+ 
+-- 
+2.35.1
+

diff --git a/www-apps/hugo/hugo-0.99.1.ebuild b/www-apps/hugo/hugo-0.99.1.ebuild
index 1a189d4c142e..1e707075854f 100644
--- a/www-apps/hugo/hugo-0.99.1.ebuild
+++ b/www-apps/hugo/hugo-0.99.1.ebuild
@@ -40,6 +40,7 @@ PATCHES=(
 	"${FILESDIR}/${PN}-0.96.0-unbundle-libwebp-and-libsass.patch"
 	"${FILESDIR}/${PN}-0.96.0-skip-some-tests.patch"
 	"${FILESDIR}/${PN}-0.99.1-fix-testdecodeconfig-basic.patch"
+	"${FILESDIR}/${PN}-0.99.1-test-timeout.patch"
 )
 
 src_configure() {


             reply	other threads:[~2022-06-25  2:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-25  2:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-29  9:14 [gentoo-commits] repo/gentoo:master commit in: www-apps/hugo/, www-apps/hugo/files/ Joonas Niilola
2023-07-09  8:08 Viorel Munteanu
2023-09-11  9:37 Viorel Munteanu
2023-12-07  6:49 Viorel Munteanu
2024-07-10  5:26 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656125421.261411be21e0625b89be16ff906e2a2102341406.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox