commit: 2d7392d44f0a42531a0302be16a54ac8daabd6f4 Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Thu Jul 4 08:57:56 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jul 8 14:27:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7392d4
app-metrics/chrony_exporter: fix tests Disable the race detector for tests, which are all simple single-threaded input/output verification. Closes: https://bugs.gentoo.org/935442 Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/37424 Signed-off-by: Sam James <sam <AT> gentoo.org> app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild b/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild index b24bc02e2e57..d264fa860fc5 100644 --- a/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild +++ b/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild @@ -20,6 +20,12 @@ DEPEND="acct-group/chrony_exporter BDEPEND="dev-util/promu" +src_prepare() { + default + # No need to enable the race detector for tests (#935442) + sed -i -e '/test-flags := -race/d' Makefile.common || die +} + src_compile() { promu build -v --cgo --prefix bin || die }
