com php-src: Skip tests f oci8 extension is not loaded: ext/oci8/tests/password_new.phpt ext/oci8/tests/passw ord_old.phpt
| From: | Dmitry Stogov | Date: | Tue, 19 Feb 2019 23:35:25 +0000 |
| Subject: | com php-src: Skip tests f oci8 extension is not loaded: ext/oci8/tests/password_new.phpt ext/oci8/tests/passw ord_old.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104758@lists.php.net to get a copy of this message | ||
Commit: 2cd24e9d7a47e3ec0c01fa18e83ee45d861d40fc
Author: Dmitry Stogov <dmitry@zend.com> Wed, 20 Feb 2019 02:35:25 +0300
Parents: a7c99f3dc52b16f4077819d75a30feb214bbd1c0
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2cd24e9d7a47e3ec0c01fa18e83ee45d861d40fc
Log:
Skip tests f oci8 extension is not loaded
Changed paths:
M ext/oci8/tests/password_new.phpt
M ext/oci8/tests/password_old.phpt
Diff:
diff --git a/ext/oci8/tests/password_new.phpt b/ext/oci8/tests/password_new.phpt
index a29fb8f..2726530 100644
--- a/ext/oci8/tests/password_new.phpt
+++ b/ext/oci8/tests/password_new.phpt
@@ -2,6 +2,7 @@
oci_password_change()
--SKIPIF--
<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
$target_dbs = array('oracledb' => true, 'timesten' => false); // test
runs on thes
require(dirname(__FILE__).'/connect.inc');
if (empty($dbase)) die ("skip requires database connection string be set");
diff --git a/ext/oci8/tests/password_old.phpt b/ext/oci8/tests/password_old.phpt
index 873fd4f..d107a6b 100644
--- a/ext/oci8/tests/password_old.phpt
+++ b/ext/oci8/tests/password_old.phpt
@@ -2,6 +2,7 @@
ocipasswordchange()
--SKIPIF--
<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
$target_dbs = array('oracledb' => true, 'timesten' => false); // test
runs on thes
require(dirname(__FILE__).'/connect.inc');
if (empty($dbase)) die ("skip requires database connection string be set");