From: Mike Frysinger Date: Thu, 15 Dec 2011 00:15:09 +0000 (+0000) Subject: add some test status helpers to simplify management of i/o and exit status X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2cc079a4b24d126f9f6b738c14b40500a7257c3f;p=gentoo.git add some test status helpers to simplify management of i/o and exit status --- diff --git a/eclass/tests/autotools:eaclocal_amflags.sh b/eclass/tests/autotools:eaclocal_amflags.sh index ac0ab767aa55..186565629051 100755 --- a/eclass/tests/autotools:eaclocal_amflags.sh +++ b/eclass/tests/autotools:eaclocal_amflags.sh @@ -5,11 +5,11 @@ source tests-common.sh inherit autotools test-it() { - ebegin "Testing eaclocal_amflags $1: $2" + tbegin "eaclocal_amflags $1: $2" printf "ACLOCAL_AMFLAGS = %b\n" "$2" > Makefile.am local flags=$(eaclocal_amflags) exp=${3:-$2} [[ "${flags}" == "${exp}" ]] - if ! eend $? ; then + if ! tend $? ; then printf '### INPUT:\n%s\n' "$2" printf '### FILE:\n%s\n' "$(