mirror_qemu/tests/tcg
Laurent Vivier 1f442da51e tests/tcg/multiarch: fix 32bit linux-test on 64bit host
Fix:

  TEST    linux-test on i386
  .../tests/tcg/multiarch/linux-test.c:201: readdir

readdir() calls getdents64() to have the list of the entries in a
directory, and getdents64() can return 64bit d_off values (with ext4,
for instance) that will not fit in the 32bit d_off field of the
readdir() dirent structure.

To avoid that, use readdir64() to use a 64bit d_off field too.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2018-11-14 11:07:06 +00:00
..
aarch64 tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
alpha tests/tcg/alpha: add Alpha specific tests 2018-06-20 20:22:34 +01:00
arm tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
cris tests: Avoid non-portable 'echo -ARG' 2017-07-11 17:45:00 +02:00
hppa tests/tcg: enable building for HPPA 2018-06-20 20:22:34 +01:00
i386 tests/tcg: remove runcom test 2018-07-24 11:45:25 +01:00
lm32 test: lm32: use semihosting for testing 2014-05-24 19:42:29 +02:00
m68k tests/tcg: enable building for m68k 2018-06-20 20:22:34 +01:00
mips tests: Fix typos in comments and help message (found by codespell) 2018-10-26 17:17:32 +02:00
multiarch tests/tcg/multiarch: fix 32bit linux-test on 64bit host 2018-11-14 11:07:06 +00:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
ppc tests/tcg: enable building for PowerPC 2018-06-20 20:22:34 +01:00
riscv tests/tcg: enable building for RISCV64 2018-06-20 20:22:34 +01:00
s390x target/s390x: fix PACK reading 1 byte less and writing 1 byte more 2018-08-28 17:37:01 +02:00
sh4 tests/tcg: enable building for sh4 2018-06-20 20:22:34 +01:00
sparc64 tests/tcg: override runners for broken tests 2018-06-20 20:22:34 +01:00
x86_64 tests/tcg/x86_64: add Makefile.target 2018-06-20 20:22:34 +01:00
xtensa tests/tcg/xtensa: only generate defined exception handlers 2018-09-17 11:09:04 -07:00
Makefile tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
Makefile.include tests: Fix typos in comments and help message (found by codespell) 2018-10-26 17:17:32 +02:00
Makefile.probe tests: Fix typos in comments and help message (found by codespell) 2018-10-26 17:17:32 +02:00
README tests/tcg/README: fix location for lm32 tests 2018-10-26 17:17:32 +02:00

README

This directory contains various interesting guest programs for
regression testing. Tests are either multi-arch, meaning they can be
built for all guest architectures that support linux-user executable,
or they are architecture specific.

CRIS
====
The testsuite for CRIS is in tests/tcg/cris.  You can run it
with "make test-cris".

LM32
====
The testsuite for LM32 is in tests/tcg/lm32.  You can run it
with "make test-lm32".