Back to index

php5  5.3.10
server-tests-config.php
Go to the documentation of this file.
00001 <?php
00002 /* this file may be duplicated to provide testing for
00003    multiple php binaries or configurations.  It is used
00004    with the -c option on server-tests.php.  All these
00005    settings will also go into the environment for tests
00006    that are directly executed, so you can also set things
00007    like PHPRC here to force an executable to use a
00008    specific php.ini file. */
00009    
00010 $conf = array(
00011 /* path to the php source tree */
00012 'TEST_PHP_SRCDIR'      =>    NULL,
00013 
00014 /* executable that will be tested.  Not used for
00015    web based tests */
00016 'TEST_PHP_EXECUTABLE'  =>    NULL,
00017 
00018 /* php.ini to use when executing php */
00019 'PHPRC'                =>    NULL,
00020 
00021 /* log format */
00022 'TEST_PHP_LOG_FORMAT'  =>    'LEODC',
00023 
00024 /* debugging detail in output. */
00025 'TEST_PHP_DETAILED'    =>    0,
00026 
00027 /* error style for editors or IDE's */
00028 'TEST_PHP_ERROR_STYLE' =>    'EMACS',
00029 
00030 'REPORT_EXIT_STATUS'   =>    0,
00031 'NO_PHPTEST_SUMMARY'   =>    0,
00032 
00033 /* don't ask, and don't send results to QA if true */
00034 'NO_INTERACTION'       =>    true,
00035 
00036 /* base url prefixed to any requests */
00037 'TEST_WEB_BASE_URL'    =>    NULL,
00038 
00039 /* if set, copy phpt files into this directory,
00040    which should be accessable via an http server.  The
00041    TEST_WEB_BASE_URL setting should be the base url
00042    to access this path.  If this is not used,
00043    TEST_WEB_BASE_URL should be the base url pointing
00044    to TEST_PHP_SRCDIR, which should then be accessable via
00045    an http server.
00046    
00047    An example would be:
00048    TEST_WEB_BASE_URL=http://localhost/test
00049    TEST_BASE_PATH=/path/to/htdocs/test
00050 */
00051 'TEST_BASE_PATH'   =>    NULL,
00052 
00053 /* file extension of pages requested via http
00054    this allows for php to be configured to parse
00055    extensions other than php, usefull for multiple
00056    configurations under a single webserver */
00057 'TEST_WEB_EXT'         =>    'php',
00058 
00059 /* if true doesn't run tests, just outputs executable info */
00060 'TEST_CONTEXT_INFO'    =>    false,
00061 
00062 /* : or ; seperated list of paths */
00063 'TEST_PATHS'           =>    NULL
00064 /* additional configuration items that may be set
00065    to provide proxy support for testes:
00066   timeout
00067   proxy_host
00068   proxy_port
00069   proxy_user
00070   proxy_pass
00071 */
00072 );
00073 
00074 ?>