1234567891011121314151617181920
  1. # Makefile for testing
  2. TESTS = git svn crlf
  3. .PHONY: dogfood test $(TESTS)
  4. dogfood:
  5. git diff | src/cdiff.py
  6. git diff | src/cdiff.py -s
  7. git diff | src/cdiff.py -s -w 60
  8. git diff | src/cdiff.py -s -w 90
  9. test: $(TESTS)
  10. $(TESTS):
  11. src/cdiff.py tests/$@.diff
  12. src/cdiff.py tests/$@.diff -s
  13. src/cdiff.py tests/$@.diff | diff -u tests/$@.diff -
  14. # vim:set noet ts=8 sw=8: