aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-17 14:01:57 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-17 14:01:57 +0100
commit3c65b898b2ac3b6375ed276c94fa97c02c81958e (patch)
treecc60bec27c30522b0de79053a097bfc67a4ea634
parent7b0f83b616246c5274b551ab46b923b0989c464e (diff)
downloadnextcloud-server-3c65b898b2ac3b6375ed276c94fa97c02c81958e.tar.gz
nextcloud-server-3c65b898b2ac3b6375ed276c94fa97c02c81958e.zip
We require minimum PHPUnit 4.4
-rwxr-xr-xautotest-external.sh4
-rwxr-xr-xautotest.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/autotest-external.sh b/autotest-external.sh
index 6128f68136f..0a3fafbd2a6 100755
--- a/autotest-external.sh
+++ b/autotest-external.sh
@@ -39,8 +39,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
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