| 1 |
lars |
1 |
<?php
|
|
|
2 |
/* this file may be duplicated to provide testing for
|
|
|
3 |
multiple php binaries or configurations. It is used
|
|
|
4 |
with the -c option on run_tests2.php. All these
|
|
|
5 |
settings will also go into the environment for tests
|
|
|
6 |
that are directly executed, so you can also set things
|
|
|
7 |
like PHPRC here to force an executable to use a
|
|
|
8 |
specific php.ini file. */
|
|
|
9 |
|
|
|
10 |
$conf = array(
|
|
|
11 |
/* path to the php source tree */
|
|
|
12 |
'TEST_PHP_SRCDIR' => NULL,
|
|
|
13 |
|
|
|
14 |
/* executable that will be tested. Not used for
|
|
|
15 |
web based tests */
|
|
|
16 |
//'TEST_PHP_EXECUTABLE' => '/usr/bin/php',
|
|
|
17 |
'TEST_PHP_EXECUTABLE' => '/usr/bin/php',
|
|
|
18 |
/* 'TEST_PHP_EXECUTABLE' => 'c:\Programas\php\php.exe', */
|
|
|
19 |
|
|
|
20 |
/* php.ini to use when executing php */
|
|
|
21 |
'PHPRC' => NULL,
|
|
|
22 |
|
|
|
23 |
/* log format */
|
|
|
24 |
'TEST_PHP_LOG_FORMAT' => 'LEODC',
|
|
|
25 |
|
|
|
26 |
/* debugging detail in output. */
|
|
|
27 |
'TEST_PHP_DETAILED' => 0,
|
|
|
28 |
|
|
|
29 |
/* error style for editors or IDE's */
|
|
|
30 |
'TEST_PHP_ERROR_STYLE' => 'EMACS',
|
|
|
31 |
|
|
|
32 |
'REPORT_EXIT_STATUS' => 1,
|
|
|
33 |
'NO_PHPTEST_SUMMARY' => 0,
|
|
|
34 |
|
|
|
35 |
/* don't ask, and don't send results to QA if true */
|
|
|
36 |
'NO_INTERACTION' => true,
|
|
|
37 |
|
|
|
38 |
/* base url prefixed to any requests */
|
|
|
39 |
'TEST_WEB_BASE_URL' => NULL,
|
|
|
40 |
|
|
|
41 |
/* if set, copy phpt files into this directory,
|
|
|
42 |
which should be accessable via an http server. The
|
|
|
43 |
TEST_WEB_BASE_URL setting should be the base url
|
|
|
44 |
to access this path. If this is not used,
|
|
|
45 |
TEST_WEB_BASE_URL should be the base url pointing
|
|
|
46 |
to TEST_PHP_SRCDIR, which should then be accessable via
|
|
|
47 |
an http server.
|
|
|
48 |
|
|
|
49 |
An example would be:
|
|
|
50 |
TEST_WEB_BASE_URL=http://localhost/test
|
|
|
51 |
TEST_BASE_PATH=/path/to/htdocs/test
|
|
|
52 |
*/
|
|
|
53 |
'TEST_BASE_PATH' => NULL,
|
|
|
54 |
|
|
|
55 |
/* file extension of pages requested via http
|
|
|
56 |
this allows for php to be configured to parse
|
|
|
57 |
extensions other than php, usefull for multiple
|
|
|
58 |
configurations under a single webserver */
|
|
|
59 |
'TEST_WEB_EXT' => 'php',
|
|
|
60 |
|
|
|
61 |
/* if true doesn't run tests, just outputs executable info */
|
|
|
62 |
'TEST_CONTEXT_INFO' => false,
|
|
|
63 |
|
|
|
64 |
/* : or ; seperated list of paths */
|
|
|
65 |
'TEST_PATHS' => 'XML_RPC2',
|
|
|
66 |
/* 'TEST_PATHS' => 'xmlrpciBackend' */
|
|
|
67 |
/* additional configuration items that may be set
|
|
|
68 |
to provide proxy support for testes:
|
|
|
69 |
timeout
|
|
|
70 |
proxy_host
|
|
|
71 |
proxy_port
|
|
|
72 |
proxy_user
|
|
|
73 |
proxy_pass
|
|
|
74 |
*/
|
|
|
75 |
);
|
|
|
76 |
|
|
|
77 |
?>
|