diff options
author | Christopher Jones <sixd@php.net> | 2011-11-03 21:52:59 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2011-11-03 21:52:59 +0000 |
commit | cfc4abe47cbc84df3194d3fbd22eed49d666f7e9 (patch) | |
tree | ac3c2bef7af5121d9b3b08769dcb38d17525e85d /ext/oci8/tests/conn_attr_4.phpt | |
parent | 25235313a0b925de8c9c0ea81400c81d348a8a6e (diff) | |
download | php-git-cfc4abe47cbc84df3194d3fbd22eed49d666f7e9.tar.gz |
Replace custom "stress_test" setting with generic SKIP_SLOW_TESTS
Diffstat (limited to 'ext/oci8/tests/conn_attr_4.phpt')
-rw-r--r-- | ext/oci8/tests/conn_attr_4.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/tests/conn_attr_4.phpt b/ext/oci8/tests/conn_attr_4.phpt index b1a22858a8..d15b7a38de 100644 --- a/ext/oci8/tests/conn_attr_4.phpt +++ b/ext/oci8/tests/conn_attr_4.phpt @@ -4,10 +4,10 @@ Set and get of connection attributes with errors. <?php $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs require(dirname(__FILE__).'/skipif.inc'); +if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request'); if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user"); if ($test_drcp) die("skip output might vary with DRCP"); -if ($stress_test !== true) die ('skip Slow test not run when $stress_test is FALSE'); if (preg_match('/Release (11\.2|12)\./', oci_server_version($c), $matches) !== 1) { // Bug fixed in 11.2 prevents client_info being rest |