qemu-e2k/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
arm tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
cris
hppa
i386 tests/tcg: remove runcom test 2018-07-24 11:45:25 +01:00
lm32
m68k
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
ppc
riscv
s390x target/s390x: fix PACK reading 1 byte less and writing 1 byte more 2018-08-28 17:37:01 +02:00
sh4
sparc64 tests/tcg: override runners for broken tests 2018-06-20 20:22:34 +01:00
x86_64
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

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".