From 60c8a5f3eff33fcce40da95cc7f55abfa4b71c0b Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 19 May 2009 07:59:25 +0000 Subject: [PATCH] =?UTF-8?q?XE=EC=9D=98=20simpletest=20=EB=8F=99=EC=9E=91?= =?UTF-8?q?=EC=97=90=20=EB=8C=80=ED=95=9C=20=EC=83=81=EC=88=98=EA=B0=92?= =?UTF-8?q?=EC=9D=84=20=EC=84=A4=EC=A0=95=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6338 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- config/config.inc.php | 9 ++++++++- tests/index.php | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/config/config.inc.php b/config/config.inc.php index ae94b01af..92ce66bb5 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -31,7 +31,7 @@ * define('__DEBUG_DB_OUTPUT__', 0); * define('__LOG_SLOW_QUERY__', 0); * define('__OB_GZHANDLER_ENABLE__', 1); - * + * define('__ENABLE_PHPUNIT_TEST__', 0); * define('__PROXY_SERVER__', 'http://domain:port/path'); * ?> */ @@ -87,6 +87,13 @@ **/ if(!defined('__OB_GZHANDLER_ENABLE__')) define('__OB_GZHANDLER_ENABLE__', 1); + /** + * @brief php unit test (경로/tests/index.php) 의 실행 유무 지정 + * 0 : 사용하지 않음 + * 1 : 사용함 + **/ + if(!defined('__ENABLE_PHPUNIT_TEST__')) define('__ENABLE_PHPUNIT_TEST__', 0); + /** * @brief __PROXY_SERVER__ 는 대상 서버를 거쳐서 외부 요청을 하도록 하는 서버의 정보를 가지고 있음 * FileHandler::getRemoteResource 에서 이 상수를 사용함 diff --git a/tests/index.php b/tests/index.php index 13960f883..1f093d268 100644 --- a/tests/index.php +++ b/tests/index.php @@ -1,6 +1,9 @@