diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-12-09 08:07:17 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-12-09 08:07:17 -0800 |
commit | 2d5df323c3eddc92b52536a4a978814a16a56529 (patch) | |
tree | 0e9f27ba24a8159115178355e0614d43849b5d5d /configure | |
parent | eda6efa892a9a45c3983ed9d6eae83cc72a52705 (diff) | |
download | txr-2d5df323c3eddc92b52536a4a978814a16a56529.tar.gz txr-2d5df323c3eddc92b52536a4a978814a16a56529.tar.bz2 txr-2d5df323c3eddc92b52536a4a978814a16a56529.zip |
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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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() |