Commit 68fb4a6a authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Do not run tests on NVIDIA Carmel as TCG cannot emulate it

parent 2877d276
......@@ -26,9 +26,12 @@ all:
# As of November 2020 QEMU 5.1.0 does not have functioning TCG implementation of Skylake CPU - attempt to run libguestfs tests in TCG mode bound to fail on Skylake 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.
# 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.
if [[ `lscpu | grep -c "^Model name:.*Skylake"` = 0 ]] && ! [[ ! -c /dev/kvm && `uname -m` = 'armv7l' ]] ; then \
# 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.
if [[ `lscpu | grep -c "^Model name:.*Skylake"` = 0 ]] && \
[[ `lscpu | grep -c "^Model name:.*Carmel"` = 0 ]] && \
! [[ ! -c /dev/kvm && `uname -m` = 'armv7l' ]] ; then \
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" ; \
fi
......
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