You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
710 B

  1. #
  2. # Win32 Makefile to run the PHP unit tests.
  3. #
  4. # TEST_PHP_EXECUTABLE
  5. # Required - must point to the PHP executable to test.
  6. #
  7. # TEST_PHP_ERROR_STYLE
  8. # Optional - specifies error format to output so IDE can jump to test source and log.
  9. # Values: MSVC (Microsoft Visual C++), Emacs
  10. #
  11. # TEST_PHP_DETAILED
  12. # Optional - generates a more complete and detailed log if set.
  13. # Values: 0 or unset - no details; 1 - detailed.
  14. #
  15. all : run-tests
  16. BIN=Debug_TS
  17. # Specific test(s) to run (all if not specified).
  18. TESTS=
  19. run-tests :
  20. set TEST_PHP_EXECUTABLE=$(BIN)\php-cgi.exe
  21. set TEST_PHP_ERROR_STYLE=MSVC
  22. set TEST_PHP_DETAILED=0
  23. cd .. && $(BIN)\php-cgi.exe -c tests -f run-tests.php $(TESTS) | tee tests.log