com php-src: Skip on Travis-CI: ext/gmp/tests/gmp_setbit_lo ng.phpt

From: Date: Wed, 03 Jan 2018 17:32:33 +0000
Subject: com php-src: Skip on Travis-CI: ext/gmp/tests/gmp_setbit_lo ng.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100775@lists.php.net to get a copy of this message
Commit: 904e0d72127ad029373dd6a6d6495e84ab7fcd4a Author: Anatol Belski <ab@php.net> Wed, 3 Jan 2018 18:32:33 +0100 Parents: 2508d5051feba0072cd910c254ea308870b4fc41 Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=904e0d72127ad029373dd6a6d6495e84ab7fcd4a Log: Skip on Travis-CI The current doc states max ram for a test VM would be 7.5G, the currently used container image has even less. This skip should be revisited, as the available memory amount shifts. The way of checking /proc/meminfo doesn't work reliably on containers at least, thus skipping explicitly on Travis-CI makes sense. Changed paths: M ext/gmp/tests/gmp_setbit_long.phpt Diff: diff --git a/ext/gmp/tests/gmp_setbit_long.phpt b/ext/gmp/tests/gmp_setbit_long.phpt index e27c4e5..ce4e427 100644 --- a/ext/gmp/tests/gmp_setbit_long.phpt +++ b/ext/gmp/tests/gmp_setbit_long.phpt @@ -1,6 +1,7 @@ --TEST-- gmp_setbit() with large index --SKIPIF-- +<?php if (getenv("TRAVIS") === "true") die("skip not suitable for Travis-CI"); ?> <?php if (!extension_loaded("gmp")) print "skip"; ?> <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> <?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?>

« previous php.cvs (#100775) next »