summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/jq/jq-1.6-r3.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-misc/jq/jq-1.6-r3.ebuild b/app-misc/jq/jq-1.6-r3.ebuild
index 65410969fe5..e233ec8fa42 100644
--- a/app-misc/jq/jq-1.6-r3.ebuild
+++ b/app-misc/jq/jq-1.6-r3.ebuild
@@ -60,6 +60,16 @@ src_configure() {
econf "${econfargs[@]}"
}
+src_test() {
+ if ! emake check; then
+ if [[ -r test-suite.log ]]; then
+ eerror "Tests failed, outputting testsuite log"
+ cat test-suite.log
+ fi
+ die "Tests failed"
+ fi
+}
+
src_install() {
local DOCS=( AUTHORS README.md )
default