List:Commits« Previous MessageNext Message »
From:ahristov Date:July 17 2007 4:20pm
Subject:PHP mysqlnd svn commit: r776 - trunk/tests/ext/mysqli
View as plain text  
Author: ahristov
Date: 2007-07-17 18:20:40 +0200 (Tue, 17 Jul 2007)
New Revision: 776

Added:
   trunk/tests/ext/mysqli/skipifunicode.inc
Modified:
   trunk/tests/ext/mysqli/mysqli_character_set.phpt
Log:
There is something wrong with SKIPIF sections. Again doesn't
work for me, like in 067.phpt. Had to embed it inside the test.


Modified: trunk/tests/ext/mysqli/mysqli_character_set.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_character_set.phpt	2007-07-17 15:40:58 UTC (rev 775)
+++ trunk/tests/ext/mysqli/mysqli_character_set.phpt	2007-07-17 16:20:40 UTC (rev 776)
@@ -1,6 +1,7 @@
 --TEST--
 Fetching results from tables of different charsets.
 --SKIPIF--
+<?php require_once('skipifunicode.inc'); ?>
 <?php require_once('skipif.inc'); ?>
 <?php require_once('skipifemb.inc'); ?>
 --FILE--
@@ -10,6 +11,11 @@
 	$tmp	= NULL;
 	$link	= NULL;
 
+	if (ini_get("unicode.semantics")){
+		die('done!');
+	}
+
+
 	if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
 		printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***,
dbname=%s, port=%s, socket=%s\n",
 			$host, $user, $db, $port, $socket);

Added: trunk/tests/ext/mysqli/skipifunicode.inc
===================================================================
--- trunk/tests/ext/mysqli/skipifunicode.inc	2007-07-17 15:40:58 UTC (rev 775)
+++ trunk/tests/ext/mysqli/skipifunicode.inc	2007-07-17 16:20:40 UTC (rev 776)
@@ -0,0 +1,5 @@
+<?php
+if (ini_get("unicode.semantics")){
+	die('skip Test doesn't work in Unicode mode');
+}
+?>

Thread
PHP mysqlnd svn commit: r776 - trunk/tests/ext/mysqliahristov17 Jul