mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/37424 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
9fbc8ca585
commit
2d7392d44f
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user