summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-12 13:40:24 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-12 13:40:24 +0100
commit4f0354ff541598acc84cd011df2ec6ac0cbdb788 (patch)
tree2351db380f760307c400cd5c6897e18ccef829d1
parentf24ef282bb3aa5f9c014aff3439234d6d73837de (diff)
These test failures make no sense at all
-rw-r--r--tests/Bootstrap.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index 5e4198730..8240d2340 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -1,5 +1,9 @@
<?php
-ini_set('memory_limit', '128M');
+// For some reason, setting this fixes the 5.2 tests but breaks the 5.3 ones ...
+if (version_compare(PHP_VERSION, '5.3.0', '<'))
+{
+ ini_set('memory_limit', '128M');
+}
// Errors on full!
ini_set('display_errors', 1);