| # |
| # Copyright (C) 2012 |
| # Charles Roussel <charles.roussel@ensimag.imag.fr> |
| # Simon Cathebras <simon.cathebras@ensimag.imag.fr> |
| # Julien Khayat <julien.khayat@ensimag.imag.fr> |
| # Guillaume Sasdy <guillaume.sasdy@ensimag.imag.fr> |
| # Simon Perrat <simon.perrat@ensimag.imag.fr> |
| # |
| ## Test git-remote-mediawiki |
| |
| all: test |
| |
| -include ../../../config.mak.autogen |
| -include ../../../config.mak |
| |
| T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) |
| |
| .PHONY: help test clean all |
| |
| help: |
| @echo 'Run "$(MAKE) test" to launch test scripts' |
| @echo 'Run "$(MAKE) clean" to remove trash folders' |
| |
| test: |
| @for t in $(T); do \ |
| echo "$$t"; \ |
| "./$$t" || exit 1; \ |
| done |
| |
| clean: |
| $(RM) -r 'trash directory'.* |