Re: [ALFS Trac] #1745: Problem with vim tests in LFS
"ALFS Trac" ([email protected] via alfs-discuss Mailing List) <[email protected]> Wed, 05 Feb 2025 08:52:36 -0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
#1745: Problem with vim tests in LFS
--------------------+------------------------------
Reporter: bdubbs | Owner: Pierre Labastie
Type: defect | Status: accepted
Priority: normal | Milestone:
Component: jhalfs | Version: GIT
Severity: normal | Resolution:
Keywords: |
--------------------+------------------------------
Comment (by Pierre Labastie):
Well I think it's not the job of jhalfs to add "yes something"... My
suggestion was for LFS :)
There are two possibilities with vim-test.log: replace it with $TEST_LOG
directly in the scriptlet or adding a line to copy it to $TEST_LOG. I'd
rather use the first possibility. Note that "!|| true" should be added at
the end, otherwise jhalfs would exit if an error occurs in tests.
About BLFS: I remember I add some problems with a needed user input during
tests a while ago. But IIRC, it had something to do with configuration
files...
Ah yes, we still have a note:
{{{
If the global configuration file <filename>/etc/vimrc</filename>
references the <envar>VIMRUNTIME</envar> environment variable, some
tests may complain about being unable to find the corresponding
directory and wait for user input. If this is the case, this file
should be saved and removed before running the tests. Or if
<xref linkend='bubblewrap'/> is installed, it's also possible to
create a lightweight container environment where this file is hidden
and run the tests in the container.
}}}
--
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1745#comment:4>
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