From: Marcus Boerger Date: Wed, 21 Sep 2005 18:40:56 +0000 (+0000) Subject: - Add ability to execute .php generated from .phpt on failure without the X-Git-Tag: php-5.1.0RC2~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a72a517e2f1e27ba48a408601d1e963adea1d3fe;p=php - Add ability to execute .php generated from .phpt on failure without the need to manually set the environment. --- diff --git a/ext/pdo/tests/pdo_001.phpt b/ext/pdo/tests/pdo_001.phpt index e90d8ff162..0c03d016de 100644 --- a/ext/pdo/tests/pdo_001.phpt +++ b/ext/pdo/tests/pdo_001.phpt @@ -10,6 +10,7 @@ PDOTest::skip(); ?> --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') { ?> --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- $v) putenv("$n=$v"); +} + class PDOTest { // create an instance of the PDO driver, based on // the current environment diff --git a/ext/pdo/tests/pecl_bug_5217.phpt b/ext/pdo/tests/pecl_bug_5217.phpt index 75df91956f..4b1170645e 100644 --- a/ext/pdo/tests/pecl_bug_5217.phpt +++ b/ext/pdo/tests/pecl_bug_5217.phpt @@ -10,6 +10,7 @@ PDOTest::skip(); ?> --FILE--