server-tests-config.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 server-tests.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. $conf = array(
  10. /* path to the php source tree */
  11. 'TEST_PHP_SRCDIR' => NULL,
  12. /* executable that will be tested. Not used for
  13. web based tests */
  14. 'TEST_PHP_EXECUTABLE' => NULL,
  15. /* php.ini to use when executing php */
  16. 'PHPRC' => NULL,
  17. /* log format */
  18. 'TEST_PHP_LOG_FORMAT' => 'LEODC',
  19. /* debugging detail in output. */
  20. 'TEST_PHP_DETAILED' => 0,
  21. /* error style for editors or IDE's */
  22. 'TEST_PHP_ERROR_STYLE' => 'EMACS',
  23. 'REPORT_EXIT_STATUS' => 0,
  24. 'NO_PHPTEST_SUMMARY' => 0,
  25. /* don't ask, and don't send results to QA if true */
  26. 'NO_INTERACTION' => true,
  27. /* base url prefixed to any requests */
  28. 'TEST_WEB_BASE_URL' => NULL,
  29. /* if set, copy phpt files into this directory,
  30. which should be accessible via an http server. The
  31. TEST_WEB_BASE_URL setting should be the base url
  32. to access this path. If this is not used,
  33. TEST_WEB_BASE_URL should be the base url pointing
  34. to TEST_PHP_SRCDIR, which should then be accessible via
  35. an http server.
  36. An example would be:
  37. TEST_WEB_BASE_URL=http://localhost/test
  38. TEST_BASE_PATH=/path/to/htdocs/test
  39. */
  40. 'TEST_BASE_PATH' => NULL,
  41. /* file extension of pages requested via http
  42. this allows for php to be configured to parse
  43. extensions other than php, useful for multiple
  44. configurations under a single webserver */
  45. 'TEST_WEB_EXT' => 'php',
  46. /* if true doesn't run tests, just outputs executable info */
  47. 'TEST_CONTEXT_INFO' => false,
  48. /* : or ; separated list of paths */
  49. 'TEST_PATHS' => NULL
  50. /* additional configuration items that may be set
  51. to provide proxy support for testes:
  52. timeout
  53. proxy_host
  54. proxy_port
  55. proxy_user
  56. proxy_pass
  57. */
  58. );
  59. ?>