Makefile 468B

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