Skip to content
Snippets Groups Projects
Commit 97a7846b authored by David Prévot's avatar David Prévot
Browse files

Adapt packaging to restored tests

This reverts commit 8773d695.
parent a2078cdb
Branches
Tags
No related merge requests found
.phpunit.result.cache
build/
src/Common/
......@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
Uploaders: David Prévot <taffit@debian.org>,
Prach Pongpanich <prachpub@gmail.com>
Build-Depends: debhelper (>= 9), phpab, pkg-php-tools (>= 1.29~)
Build-Depends: debhelper (>= 9), phpab, phpunit, pkg-php-tools (>= 1.29~)
Standards-Version: 4.2.0
Homepage: http://phpdoc.org/
Vcs-Git: https://salsa.debian.org/php-team/pear/php-phpdocumentor-reflection-common.git
......
......@@ -14,6 +14,13 @@ else
@echo "** tests disabled"
endif
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
phpunit --bootstrap src/Common/autoload.php
else
@echo "** tests disabled"
endif
override_dh_installchangelogs:
dh_installchangelogs $(CURDIR)/debian/upstream/changelog
......
Test-Command: phpunit --bootstrap /usr/share/php/phpDocumentor/Reflection/Common/autoload.php
Restrictions: rw-build-tree
Depends: phpunit, @
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment