diff options
author | Rob Browning <rlb@defaultvalue.org> | 2024-06-30 12:38:35 -0500 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2024-09-27 19:51:00 -0500 |
commit | 1c96e4ab6dde18c69f1493a8e1560e80a347cd21 (patch) | |
tree | 3928532bf791abe030eb9a6a7489122f4ad92a02 /libguile/init.c | |
parent | e134a1a6b1f4108abecc7c7a19d4c34f8a8a1dd0 (diff) | |
download | guile-1c96e4ab6dde18c69f1493a8e1560e80a347cd21.tar.gz |
Ensure tests have guile-procedures.txt
The tests depend on libguile/guile-procedures.txt, for example via
documented? in bit-operations.test. Previously "make check -j..." in a
clean tree would fail because libguile/guile-procedures.txt is built by
./Makefile.am (rather than libguile/Makefile.am) so that it will have a
built module/ available, but when "." is not listed in SUBDIRS, it
builds last, and so the test-suite runs before guile-procedures.txt is
built.
To fix the problem add "." to SUBDIRS before the test-suite so that the
tests will be able depend on everything else, and move the existing
guile-procedures.txt target into libguile/ next to its
guile-procedures.texi dependency. That gives a better overview and
simplifies the recipe a bit. It also allows us to drop the explict
"all-local:" dependency, and to let the existing libguile/ code handle
the cleanup.
* Makefile.am (SUBDIRS): add . just before the test-suite.
(libguile/guile-procedures.txt): rely on libguile/Makefile.am.
(CLEANFILES): Drop libguile/procedures.txt.
* libguile/Makefile.am: (all-local): drop.
(libguile/guile-procedures.txt): move Makefile.am recipe here.
Diffstat (limited to 'libguile/init.c')
0 files changed, 0 insertions, 0 deletions