From 3c65b898b2ac3b6375ed276c94fa97c02c81958e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 17 Feb 2016 14:01:57 +0100 Subject: We require minimum PHPUnit 4.4 --- autotest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autotest.sh') diff --git a/autotest.sh b/autotest.sh index 48b73283499..61c21dc0ba2 100755 --- a/autotest.sh +++ b/autotest.sh @@ -69,8 +69,8 @@ PHPUNIT_VERSION=$($PHPUNIT --version | cut -d" " -f2) PHPUNIT_MAJOR_VERSION=$(echo "$PHPUNIT_VERSION" | cut -d"." -f1) PHPUNIT_MINOR_VERSION=$(echo "$PHPUNIT_VERSION" | cut -d"." -f2) -if ! [ "$PHPUNIT_MAJOR_VERSION" -gt 3 -o \( "$PHPUNIT_MAJOR_VERSION" -eq 3 -a "$PHPUNIT_MINOR_VERSION" -ge 7 \) ]; then - echo "phpunit version >= 3.7 required. Version found: $PHPUNIT_VERSION" >&2 +if ! [ "$PHPUNIT_MAJOR_VERSION" -gt 4 -o \( "$PHPUNIT_MAJOR_VERSION" -eq 4 -a "$PHPUNIT_MINOR_VERSION" -ge 4 \) ]; then + echo "phpunit version >= 4.4 required. Version found: $PHPUNIT_VERSION" >&2 exit 4 fi -- cgit v1.2.3