Makefile 618 B

1234567891011121314151617181920212223242526272829
  1. #
  2. # This Makefile is used to test some MediaWiki functions. If you
  3. # want to install MediaWiki, point your browser to ./config/
  4. #
  5. # Configuration:
  6. PROVE_BIN="prove"
  7. # Describe our tests:
  8. BASE_TEST=$(wildcard t/*.t)
  9. INCLUDES_TESTS=$(wildcard t/inc/*t)
  10. MAINTENANCE_TESTS=$(wildcard t/maint/*t)
  11. # Build groups:
  12. FAST_TESTS=$(BASE_TEST) $(INCLUDES_TESTS)
  13. ALL_TESTS=$(BASE_TEST) $(INCLUDES_TESTS) $(MAINTENANCE_TESTS)
  14. test: t/Test.php
  15. $(PROVE_BIN) $(ALL_TESTS)
  16. fast: t/Test.php
  17. $(PROVE_BIN) $(FAST_TESTS)
  18. maint:
  19. $(PROVE_BIN) $(MAINTENANCE_TESTS)
  20. verbose: t/Test.php
  21. $(PROVE_BIN) -v $(ALL_TESTS) | egrep -v '^ok'