Using grub-2.04 at commit 2a2e10c on Ubuntu 18.04.5:
./bootstrap
./configure --with-platform=efi --target=x86_64 --prefix=/usr
make
make check
============================================================================
Testsuite summary for GRUB 2.04
============================================================================
# TOTAL: 82
# PASS: 19
# SKIP: 16
# XFAIL: 0
# FAIL: 47
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to
bug-grub@gnu.org============================================================================