Commit:    4d6bae896df6cc13424ed91deb2b02d33df159aa
Author:    Stanislav Malyshev <s...@php.net>         Mon, 30 Jul 2012 00:23:53 
-0700
Parents:   0988ae3c43982db1474dd7e9a772953c8a7cf0c6
Branches:  PHP-5.4 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=4d6bae896df6cc13424ed91deb2b02d33df159aa

Log:
skip tests if ibase not present

Changed paths:
  M  ext/pdo_firebird/tests/bug_47415.phpt
  M  ext/pdo_firebird/tests/bug_48877.phpt
  M  ext/pdo_firebird/tests/bug_53280.phpt
  M  ext/pdo_firebird/tests/connect.phpt
  M  ext/pdo_firebird/tests/ddl.phpt
  M  ext/pdo_firebird/tests/execute.phpt
  M  ext/pdo_firebird/tests/rowCount.phpt


Diff:
diff --git a/ext/pdo_firebird/tests/bug_47415.phpt 
b/ext/pdo_firebird/tests/bug_47415.phpt
index cedc2c4..12cd782 100644
--- a/ext/pdo_firebird/tests/bug_47415.phpt
+++ b/ext/pdo_firebird/tests/bug_47415.phpt
@@ -2,6 +2,7 @@
 Bug #47415 PDO_Firebird segfaults when passing lowercased column name to 
bindColumn()
 --SKIPIF--
 <?php extension_loaded("pdo_firebird") or die("skip"); ?>
+<?php function_exists("ibase_query") or die("skip"); ?>
 --FILE--
 <?php
 
diff --git a/ext/pdo_firebird/tests/bug_48877.phpt 
b/ext/pdo_firebird/tests/bug_48877.phpt
index 290cd7a..cbab84b 100644
--- a/ext/pdo_firebird/tests/bug_48877.phpt
+++ b/ext/pdo_firebird/tests/bug_48877.phpt
@@ -2,6 +2,7 @@
 PDO_Firebird: bug 48877 The "bindValue" and "bindParam" do not work for PDO 
Firebird if we use named parameters (:parameter).
 --SKIPIF--
 <?php extension_loaded("pdo_firebird") or die("skip"); ?>
+<?php function_exists("ibase_query") or die("skip"); ?>
 --FILE--
 <?php
 
diff --git a/ext/pdo_firebird/tests/bug_53280.phpt 
b/ext/pdo_firebird/tests/bug_53280.phpt
index 1be4e8a..3139867 100644
--- a/ext/pdo_firebird/tests/bug_53280.phpt
+++ b/ext/pdo_firebird/tests/bug_53280.phpt
@@ -2,6 +2,7 @@
 PDO_Firebird: bug 53280 segfaults if query column count is less than param 
count
 --SKIPIF--
 <?php extension_loaded("pdo_firebird") or die("skip"); ?>
+<?php function_exists("ibase_query") or die("skip"); ?>
 --FILE--
 <?php
 
diff --git a/ext/pdo_firebird/tests/connect.phpt 
b/ext/pdo_firebird/tests/connect.phpt
index e4bb8ef..cbe76e6 100644
--- a/ext/pdo_firebird/tests/connect.phpt
+++ b/ext/pdo_firebird/tests/connect.phpt
@@ -2,6 +2,7 @@
 PDO_Firebird: connect/disconnect
 --SKIPIF--
 <?php include("skipif.inc"); ?>
+<?php function_exists("ibase_query") or die("skip"); ?>
 --FILE--
 <?php /* $Id$ */
 
diff --git a/ext/pdo_firebird/tests/ddl.phpt b/ext/pdo_firebird/tests/ddl.phpt
index 9a3ddd1..9d2a095 100644
--- a/ext/pdo_firebird/tests/ddl.phpt
+++ b/ext/pdo_firebird/tests/ddl.phpt
@@ -2,6 +2,7 @@
 PDO_Firebird: DDL/transactions
 --SKIPIF--
 <?php include("skipif.inc"); ?>
+<?php function_exists("ibase_query") or die("skip"); ?>
 --FILE--
 <?php /* $Id$ */
 
diff --git a/ext/pdo_firebird/tests/execute.phpt 
b/ext/pdo_firebird/tests/execute.phpt
index 3a759fc..896347e 100644
--- a/ext/pdo_firebird/tests/execute.phpt
+++ b/ext/pdo_firebird/tests/execute.phpt
@@ -2,6 +2,7 @@
 PDO_Firebird: prepare/execute/binding
 --SKIPIF--
 <?php include("skipif.inc"); ?>
+<?php function_exists("ibase_query") or die("skip"); ?>
 --INI--
 ibase.timestampformat=%Y-%m-%d %H:%M:%S
 --FILE--
diff --git a/ext/pdo_firebird/tests/rowCount.phpt 
b/ext/pdo_firebird/tests/rowCount.phpt
index 3d7f71c..1a00950 100644
--- a/ext/pdo_firebird/tests/rowCount.phpt
+++ b/ext/pdo_firebird/tests/rowCount.phpt
@@ -2,6 +2,7 @@
 PDO_Firebird: rowCount
 --SKIPIF--
 <?php extension_loaded("pdo_firebird") or die("skip"); ?>
+<?php function_exists("ibase_query") or die("skip"); ?>
 --FILE--
 <?php /* $Id$ */


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to