On 5/21/20 5:41 PM, Ken Moffat via lfs-dev wrote:
At the moment we have a known failure in automake-1.16.2,
tags-lisp-space.sh.  This fails because etags is not present.  The
test tagsub similarly wants to use etags, but for that the test is
skipped.

The difference is that tagsub has
  required=etags
whereas tags-lisp-space.sh has
  required=''

This has already been fixed upstream:

commit 77d39959511295f5a30332d5d03f0a6956bd9460
Author: Karl Berry <k...@freefriends.org>
Date:   Tue Mar 24 18:30:18 2020 -0700

     tests: require etags for tags-lisp-space test.
* t/tags-lisp-space.sh (required): set to etags.

diff --git a/t/tags-lisp-space.sh b/t/tags-lisp-space.sh
index d0a940ba3568..44312b0b7ab7 100755
--- a/t/tags-lisp-space.sh
+++ b/t/tags-lisp-space.sh
@@ -18,7 +18,7 @@
  # if there are CONFIG_HEADERS.
  # See automake bug#38139.
-required=''
+required=etags
  . test-init.sh
# some AC_CONFIG_FILES header is needed to trigger the bug.

I tend to come up with ugly seds, I'm using

sed -i "/required=/s/=.*/=etags/" t/tags-lisp-space.sh

Maybe there is a better sed variant ?  It is always nice to reduce
the number of test failures in LFS.

There is only one instance of 'required' in t/tags-lisp-space.sh and only one instance of two adjacent single quotes. I suggest:

sed -i "/''/etags/"  t/tags-lisp-space.sh

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to