diff options
author | 2021-05-19 17:40:20 +0200 | |
---|---|---|
committer | 2021-05-19 17:40:20 +0200 | |
commit | 0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97 (patch) | |
tree | 8a237b8dfdc832dee581a4c923aa100894f124ea | |
parent | templates/tatt_functions.sh: add explanatory comment (diff) | |
download | tatt-0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97.tar.gz tatt-0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97.tar.bz2 tatt-0a68e9fa39ed3de7caeeaa4f925b34e36eec2d97.zip |
templates/tatt_functions.sh: don't be too verbose when building test deps
Also correctly signal failure to the caller when this fails.
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
-rw-r--r-- | templates/tatt_functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh index 75f6ba4..0e95e9a 100644 --- a/templates/tatt_functions.sh +++ b/templates/tatt_functions.sh @@ -46,9 +46,9 @@ function tatt_test_pkg { if [ "${1:?}" == "--test" ]; then shift - if ! emerge --onlydeps -1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}"; then + if ! emerge --onlydeps -q1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}"; then echo "merging test dependencies of ${1} failed" >> "${TATT_REPORTFILE}" - return 0 + return 1 fi TFEATURES="${FEATURES} test" else |