commit:     6ce6a7e06b64e87158b95fdc86a49bf3dc4a720f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 24 06:32:06 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Nov 24 06:37:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce6a7e0

eclass/ruby-ng.eclass: turn off loud publication banner in cucumber

Use the environment variable rather than the command-line option for
easy backward compatibility with cucumber < 7.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 eclass/ruby-ng.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 6b3c0c25eaa2..90da695a04c2 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -734,7 +734,7 @@ ruby-ng_cucumber() {
                        ;;
        esac
 
-       ${RUBY} -S cucumber ${cucumber_params} "$@" || die "cucumber failed"
+       CUCUMBER_PUBLISH_QUIET=true ${RUBY} -S cucumber ${cucumber_params} "$@" 
|| die "cucumber failed"
 }
 
 # @FUNCTION: ruby-ng_testrb-2

Reply via email to