com php-src: restricted test to English locale (fails otherwise): ext/com_dotnet/tests/variants_x64.phpt
| From: | Christoph Michael Becker | Date: | Fri, 26 Jun 2015 14:27:45 +0000 |
| Subject: | com php-src: restricted test to English locale (fails otherwise): ext/com_dotnet/tests/variants_x64.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87544@lists.php.net to get a copy of this message | ||
Commit: 36e2d26adbecce264ba90bb7d479c9de95e9ca8e
Author: Christoph M. Becker <cmb@php.net> Fri, 26 Jun 2015 16:27:45 +0200
Parents: 3bd6bb6f50e4d4191dba7fb91df45a1e18c682b8
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=36e2d26adbecce264ba90bb7d479c9de95e9ca8e
Log:
restricted test to English locale (fails otherwise)
Changed paths:
M ext/com_dotnet/tests/variants_x64..phpt
Diff:
diff --git a/ext/com_dotnet/tests/variants_x64.phpt b/ext/com_dotnet/tests/variants_x64.phpt
index 1c75a9d..efc0c83 100644
--- a/ext/com_dotnet/tests/variants_x64.phpt
+++ b/ext/com_dotnet/tests/variants_x64.phpt
@@ -3,7 +3,10 @@ COM: General variant tests
--SKIPIF--
<?php # vim:ft=php
if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
-if (8 != PHP_INT_SIZE) print "skip x64 only"; ?>
+if (8 != PHP_INT_SIZE) print "skip x64 only";
+if ((string) variant_cat(new VARIANT(false), new VARIANT(0.5)) != 'False0.5')
+ print "skip English locale only";
+?>
--FILE--
<?php // $Id$
error_reporting(E_ALL);