[ALFS Trac] #1745: Problem with vim tests in LFS

"ALFS Trac" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sun, 02 Feb 2025 20:36:55 -0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
#1745: Problem with vim tests in LFS
--------------------+------------------------
 Reporter:  bdubbs  |      Owner:  alfs-log@…
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:
Component:  jhalfs  |    Version:  GIT
 Severity:  normal  |   Keywords:
--------------------+------------------------
 What we have in LFS when we test vim is

 {{{
 su tester -c "TERM=xterm-256color LANG=en_US.UTF-8 make -j1 test" \
    &> vim-test.log
 }}}

 jhalfs is translating this to:

 {{{
 #su tester -c "TERM=xterm-256color LANG=en_US.UTF-8 make -k -j1 test" \ >>
 $TEST_LOG 2>&1 || true
 #   &> vim-test.log >> $TEST_LOG 2>&1 || true
 }}}

 When I run jhalfs, I do not select "Run testsuites", but remove the hashes
 from the scriptlets where I do want to run tests.

 It looks like that second line is wrong primarily because the book's
 backslash-newline is converted to backslash-space.

 The problem I had is that the tests hang with "Press ENTER or type command
 to continue" but there is no way to do that without just killing the
 tests.

 I'll do another build to test, but I suspect that 2nd line in the
 scriptlet is just unneeded when testing in jhalfs.
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1745>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page