1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
10 DESCRIPTION="Database abstraction layer for PHP"
14 DEPEND="test? ( dev-php/PEAR-PEAR )"
16 DOCS=( doc/TESTERS doc/IDEAS doc/MAINTAINERS doc/STATUS )
19 # Requires the "pear" executable from dev-php/PEAR-PEAR, and also
20 # a working version of the cli SAPI eselected.
21 pear run-tests tests || die
23 # The command succeeds regardless of whether or not the test suite
24 # passed, but this file is only written when there was a failure.
25 [[ -f run-tests.log ]] && die "test suite failed"