From 2d5df323c3eddc92b52536a4a978814a16a56529 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 9 Dec 2014 08:07:17 -0800 Subject: Test output goes to tst/ now. * Makefile (TESTS_OUT): We don't need to refer to top_srcdir. Add the tst/ prefix to .out paths. Find must be used with -H because tests is a symlink for out-of-tree build directories. (tests/*): All target-specific assignments are moved to tst/tests/* paths, and top_srcdir is no longer used in the right hand side values. (%.out): Becomes (tst/%.out). (%.ok): need to compute .expected name from .out differently to account for tst/ prefix. (tests.clean): Just remove the tst directory. (install-tests): Remove the tst directory first so test commands are forced to run (though it is a dry run). We no longer need to switch to top_srcdir to find the .txr files, nor do we have to filter out .out files from the tests tree. We no longer have to switch to top_srcdir in the recursive make. Also, show the installation of tests using ABBREV3. * configure: When configuring in a separate directory, symlink the tests directory back to the source tree. Since there are now three things being symlinked, rewrote that as a loop. The recommendation to build in a separate directory is just a note, not a warning. --- configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 9bef1060..8b6e4d7a 100755 --- a/configure +++ b/configure @@ -549,12 +549,12 @@ case "$top_srcdir" in esac if [ "$source_dir" != "." ] ; then - printf "Symlinking Makefile -> $source_dir/Makefile\n" - ln -sf "$source_dir/Makefile" . - printf "Symlinking share -> $source_dir/share\n" - ln -sf "$source_dir/share" . + for x in Makefile share tests; do + printf "Symlinking %s -> $source_dir/%s\n" $x $x + ln -sf "$source_dir/$x" . + done else - printf "Warning: its recommended to build in a separate directory\n" + printf "** Note: its recommended to build in a separate directory\n" fi gen_config_make() -- cgit v1.2.3