From 5e2de26a06e435d28342dc5acf7b83fc0538756f Mon Sep 17 00:00:00 2001 From: Artyom Poptsov Date: Tue, 28 Jan 2014 21:05:58 +0400 Subject: Use the standard `check' target instead of `tests'. * configure.ac (AM_INIT_AUTOMAKE): Add `color-tests' option. * Makefile.am (TESTS): Fix a bug: use value of `SCM_TESTS' variable, not its name. (tests): Remove target. Use `make check' instead. (CLEANFILES): Add auxiliary logs produced by tests. --- Makefile.am | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index fb8a861..1c1ece8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,7 @@ SCM_TESTS = \ tests/auth.scm \ tests/client-server.scm -TESTS = SCM_TESTS +TESTS = ${SCM_TESTS} TEST_EXTENSIONS = .scm @@ -38,8 +38,4 @@ AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" SCM_LOG_COMPILER = $(GUILE) AM_SCM_LOG_FLAGS = -L "$(abs_top_srcdir)" --no-auto-compile -.PHONY: tests - -tests: $(SCM_TESTS:%.scm=%.log) - -CLEANFILES = tests/*.log +CLEANFILES = $(SCM_TESTS:tests/%.scm=%.log) -- cgit v1.2.3