summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-02-04 13:08:51 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-02-04 13:10:56 -0600
commit5de5211f9adda6a743ff1177c837ceec8368659f (patch)
tree8dd1ffb752fb4ccc1f5f2fd755d8de1ef4c1bfac /app-metrics
parentdev-util/glslang: Bump slot (diff)
downloadgentoo-5de5211f9adda6a743ff1177c837ceec8368659f.tar.gz
gentoo-5de5211f9adda6a743ff1177c837ceec8368659f.tar.bz2
gentoo-5de5211f9adda6a743ff1177c837ceec8368659f.zip
app-metrics/node_exporter: fix tests
Closes: https://bugs.gentoo.org/893146 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/node_exporter/node_exporter-1.4.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-metrics/node_exporter/node_exporter-1.4.0.ebuild b/app-metrics/node_exporter/node_exporter-1.4.0.ebuild
index 6da3d5474c41..644c269e95e0 100644
--- a/app-metrics/node_exporter/node_exporter-1.4.0.ebuild
+++ b/app-metrics/node_exporter/node_exporter-1.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -36,6 +36,10 @@ src_compile() {
promu build -v --prefix node_exporter || die
}
+src_test() {
+ emake test-flags= test
+}
+
src_install() {
dosbin node_exporter/node_exporter
dodoc {README,CHANGELOG,CONTRIBUTING}.md