From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Cc: daniel.kiper@oracle.com,development@efficientek.com
Subject: Re: [PATCH 1/2] tests: Return hard error for functional test when unicode.pf2 does not exist
Date: Thu, 16 Feb 2023 13:21:13 +0100 [thread overview]
Message-ID: <17339390804613846170@scdbackup.webframe.org> (raw)
In-Reply-To: <d82c021ef34af5c2fc0a31669a3bfc11edb81804.1676531227.git.development@efficientek.com>
Hi,
On Thu, 16 Feb 2023 01:15:00 -0600, Glenn Washburn
<development@efficientek.com> wrote:
> The functional test requires unicode.pf2 to run successfully, so
> explicitly have the test return ERROR when its not found.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>
> ---
> tests/grub_func_test.in | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/tests/grub_func_test.in b/tests/grub_func_test.in
> index c67f9e4225..d43427c568 100644
> --- a/tests/grub_func_test.in
> +++ b/tests/grub_func_test.in
> @@ -3,6 +3,11 @@ set -e
>
> . "@builddir@/grub-core/modinfo.sh"
>
> +if [ ! -e "@builddir@/"unicode.pf2 ]; then
> + echo "Functional test requires grub-mkfont support"
> + exit 99
> +fi
> +
> case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
> # PLATFORM: Max RAM is 256M
> mips-qemu_mips | mipsel-qemu_mips)
Tested-by: Thomas Schmitt <scdbackup@gmx.net>
With xfonts-unifont installed, the test gets beyond the grub-mkisofs run
and shows the usual complaints about checksums.
After
apt-get remove xfonts-unifont
and in the git repo:
rm unicode.pf2
./configure && make
the grub_func_test ends very quickly with:
Functional test requires grub-mkfont support
ERROR grub_func_test (exit status: 99)
Have a nice day :)
Thomas
next prev parent reply other threads:[~2023-02-16 12:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-16 7:14 [PATCH 0/2] Tests unifont Glenn Washburn
2023-02-16 7:15 ` [PATCH 1/2] tests: Return hard error for functional test when unicode.pf2 does not exist Glenn Washburn
2023-02-16 12:21 ` Thomas Schmitt [this message]
2023-02-16 7:15 ` [PATCH 2/2] docs: Document that the functional test requires the package xfonts-unifont Glenn Washburn
2023-02-16 12:21 ` Thomas Schmitt
2023-02-24 15:54 ` Daniel Kiper
2023-02-26 6:56 ` Glenn Washburn
2023-02-28 17:25 ` Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17339390804613846170@scdbackup.webframe.org \
--to=scdbackup@gmx.net \
--cc=daniel.kiper@oracle.com \
--cc=development@efficientek.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.