Commit 5e480bb0 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Do not run tests on Cortex-A78AE Carmel as TCG cannot emulate it

parent 68fb4a6a
...@@ -28,9 +28,12 @@ all: ...@@ -28,9 +28,12 @@ all:
# As of April 2021 QEMU 5.1.0 does not have functioning TCG implementation of Cortex-A7 CPU running on ARMv7 - attempt to run libguestfs tests in TCG mode bound to fail on ARMv7 system. # As of April 2021 QEMU 5.1.0 does not have functioning TCG implementation of Cortex-A7 CPU running on ARMv7 - attempt to run libguestfs tests in TCG mode bound to fail on ARMv7 system.
# As of January 2026 QEMU 6.0.0 does not have functioning TCG implementation of Cortex-A75 CPU running on ARMv8.2-a - attempt to run libguestfs tests in TCG mode bound to fail on ARMv8.2-a system. # As of January 2026 QEMU 6.0.0 does not have functioning TCG implementation of Cortex-A75 CPU running on ARMv8.2-a - attempt to run libguestfs tests in TCG mode bound to fail on ARMv8.2-a system.
# Let's skip testing (with heavy heart) hoping that whatever bugs lurking around will become apparent during builds for other types of CPUs. # Let's skip testing (with heavy heart) hoping that whatever bugs lurking around will become apparent during builds for other types of CPUs.
# This condition should be removed/modified in the future when QEMU TCG will catch up with real world Skylake CPU and/or Cortex-A7 and/or Cortex-A75. # As of March 2026 QEMU 6.0.0 does not have functioning TCG implementation of Cortex-A78AE CPU running on ARMv8.2-a - attempt to run libguestfs tests in TCG mode bound to fail on ARMv8.2-a system.
# Let's skip testing (with heavy heart) hoping that whatever bugs lurking around will become apparent during builds for other types of CPUs.
# This condition should be removed/modified in the future when QEMU TCG will catch up with real world Skylake CPU and/or Cortex-A7 and/or Cortex-A75 and/or Cortex-A78AE.
if [[ `lscpu | grep -c "^Model name:.*Skylake"` = 0 ]] && \ if [[ `lscpu | grep -c "^Model name:.*Skylake"` = 0 ]] && \
[[ `lscpu | grep -c "^Model name:.*Carmel"` = 0 ]] && \ [[ `lscpu | grep -c "^Model name:.*Carmel"` = 0 ]] && \
[[ `lscpu | grep -c "^Model name:.*Cortex-A78AE"` = 0 ]] &&
! [[ ! -c /dev/kvm && `uname -m` = 'armv7l' ]] ; then \ ! [[ ! -c /dev/kvm && `uname -m` = 'armv7l' ]] ; then \
chown -Rv nobody libguestfs-1.45.6 ; \ chown -Rv nobody libguestfs-1.45.6 ; \
su nobody -s /bin/bash -c "PATH=$$PATH SKIP_QEMU_FORCE_TCG_SH=1 SKIP_TEST_RSYNC_SH=1 make -C libguestfs-1.45.6 check" ; \ su nobody -s /bin/bash -c "PATH=$$PATH SKIP_QEMU_FORCE_TCG_SH=1 SKIP_TEST_RSYNC_SH=1 make -C libguestfs-1.45.6 check" ; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment