kumquat-buildroot/support/testing/tests
Romain Naour dc25b8d99f support/testing: use core2duo cpu emulation for TestGlxinfo
TestGlxinfo fail with a new runtime error:

  # glxinfo -B -display :0
  name of display: :0
  traps: glxinfo[84] trap invalid opcode ip:b73c7027 sp:bf8433c0 error:0 in swrast_dri.so[b6e4c000+64f000]
  Illegal instruction

The x86-core2 Bootlin toolchains are built for a core2 CPU [0],
this means that the Bootlin toolchains may use core2-specific
instructions.

The TestGlxinfo test is setup for BR2_x86_core2, so our
executables will also contain core2 instructions.

However, the default Qemu x86 is not guaranteed to emulate all the
instructions specific to core2, causing runtime issues as reported
above.

A similar issue has been fixed by adding Nehalem cpu emulation on
the qemu command line. See 4f565b5222 ("support/testing: use Nehalem
cpu emulation for TestGrubX8664EFI").

Set core2duo cpu emulation for TestGlxinfo on the qemu command line.

[0] https://gitlab.com/buildroot.org/toolchains-builder/-/blob/kubu/toolchain-builder-2023.08/configs/arch/x86-core2.config?ref_type=heads

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-02-07 16:18:27 +01:00
..
boot support/testing: use Nehalem cpu emulation for TestGrubX8664EFI 2024-02-05 17:02:24 +01:00
core support/testing: TestNoTimezone: fix the test case for Glibc 2023-08-01 23:15:18 +02:00
download boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-07-28 23:05:23 +02:00
fs support/testing: override the EDK2 CPU hotplug bug check 2023-07-29 11:00:56 +02:00
init support/testing: InitSystemSystemdBaseOverlayfs: bump kernel to 5.10.202 2023-12-09 21:35:32 +01:00
package support/testing: use core2duo cpu emulation for TestGlxinfo 2024-02-07 16:18:27 +01:00
toolchain toolchain/toolchain-external/toolchain-external-bootlin: update to 2023.11-1 2023-12-28 21:57:50 +01:00
utils support/testing: complete the grammar fix 2023-04-23 21:53:02 +02:00
__init__.py