From 1b03e2cd33a059fdd355c52899e151130777c44f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 3 Aug 2012 21:24:51 +0200 Subject: tests: make compatible with autotools The command 'make check' is called from 'make distcheck' (which is used to generate official util-linux tarballs). It means that tests/ stuff has to be compatible with autotools and differentiate between source and build directories. * remove run-nonroot.sh (merged into run.sh * remove commands.sh.in * all tests and top level run.sh accept --builddir and --srcdir command line options * functions.sh modified to use $top_builddir/tests for output files Signed-off-by: Karel Zak --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index fe74e6856..e22dad339 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,6 +47,7 @@ INSTALL_EXEC_HOOKS = UNINSTALL_HOOKS = INSTALL_DATA_HOOKS = CLEAN_LOCALS = +CHECK_LOCALS = EXTRA_DIST = man/ru/ddate.1 CLEANFILES = @@ -153,3 +154,5 @@ uninstall-hook: $(UNINSTALL_HOOKS) install-data-hook: $(INSTALL_DATA_HOOKS) clean-local: $(CLEAN_LOCALS) + +check-local: $(CHECK_LOCALS) -- cgit v1.2.3-55-g7522