tests: add CGIT_TEST_OPTS variable to Makefile

This allows running the entire test suite with a set of command-line
options.  For example:

	make test CGIT_TEST_OPTS=--valgrind

Signed-off-by: John Keeping <john@keeping.me.uk>
Этот коммит содержится в:
John Keeping 2014-01-12 19:46:42 +00:00 коммит произвёл Jason A. Donenfeld
родитель 1de6591159
Коммит a52aaa90da
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5,7 +5,7 @@ T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
all: $(T)
$(T):
@./$@
@./$@ $(CGIT_TEST_OPTS)
clean:
$(RM) -rf trash