summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-02-04 00:24:15 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-02-04 00:24:15 -0600
commitc481d2974328528470245ac65fe59fb99ed4eb3c (patch)
tree339f4abe2a7fdbe8ef6bcfd43780a80e890fd22c /app-metrics/prom2json
parentapp-metrics/prom2json: drop 0.1.0_p20170523 (diff)
downloadgentoo-c481d2974328528470245ac65fe59fb99ed4eb3c.tar.gz
gentoo-c481d2974328528470245ac65fe59fb99ed4eb3c.tar.bz2
gentoo-c481d2974328528470245ac65fe59fb99ed4eb3c.zip
app-metrics/prom2json: fix tests
Closes: https://bugs.gentoo.org/893148 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics/prom2json')
-rw-r--r--app-metrics/prom2json/prom2json-1.3.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-metrics/prom2json/prom2json-1.3.0.ebuild b/app-metrics/prom2json/prom2json-1.3.0.ebuild
index 464297b7bc1a..ece0dcf32a9b 100644
--- a/app-metrics/prom2json/prom2json-1.3.0.ebuild
+++ b/app-metrics/prom2json/prom2json-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -29,6 +29,10 @@ src_compile() {
promu build --prefix bin || die
}
+src_test() {
+ emake test-flags= test || die
+}
+
src_install() {
dobin bin/*
dodoc {README,CONTRIBUTING}.md