Skip to content

Cleanup of TCG tests

Pranith Kumar qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest18 of 19 patches 13 repliesIn review

18 of 19 patches are in this archive. The cover letter announces 19.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19linux-user: fix settime old value locationlinux-user/syscall.c+1 -12 replies
2/19linux-user: fix tcg/mmap testlinux-user/mmap.c+14 -132 replies
3/19check-help: add some hint to run a single testtests/Makefile.include+1 -01 reply
4/19tests/tcg: comment unused codetests/tcg/linux-test.c tests/tcg/test-i386-fprem.c+10 -21 reply
6/19linux-test: fix buildtests/tcg/Makefile tests/tcg/linux-test.c+4 -10 replies
7/19linux-test: fix set/getitimer returned timer checktests/tcg/linux-test.c+9 -30 replies
8/19Fix test-i386-fprem compilationtests/tcg/test-i386-fprem.c+5 -10 replies
9/19test-i386: modernize vector code v4sftests/tcg/test-i386.c+2 -30 replies
10/19tests/tcg: Move arm tests to arch specific foldertests/tcg/arm/Makefile tests/tcg/arm/hello-arm.c tests/tcg/arm/test-arm-iwmmxt.s+45 -00 replies
11/19tests/tcg: Move mips test to arch specific foldertests/tcg/mips/hello-mips.c+0 -00 replies
12/19tests/tcg: Add tests-tcg hook in Makefiletests/Makefile.include tests/tcg/Makefile.include+34 -01 reply
13/19tests/tcg/i386: Fix hello-i386 testtests/tcg/hello-i386.c+5 -40 replies
14/19tests/tcg: Move i386 tests to arch specific foldertests/tcg/Makefile tests/tcg/i386/Makefile tests/tcg/i386/hello-i386.c +10 more+88 -1560 replies
15/19tests/tcg/i386: Fix test-i386 compilationtests/tcg/i386/Makefile+4 -40 replies
16/19tests/tcg: Fix compilation of linux-test.ctests/tcg/linux-test.c+2 -01 reply
17/19tests/tcg: Move independent tests to misc dirtests/tcg/misc/Makefile tests/tcg/misc/linux-test.c tests/tcg/misc/sha1.c +3 more+81 -01 reply
18/19tests/tcg: Add and update Makefilestests/tcg/alpha/Makefile tests/tcg/arm/Makefile tests/tcg/cris/Makefile +9 more+225 -531 reply
19/19tests/tcg: test-i386.c: Fix format warningstests/tcg/i386/test-i386.c+1 -10 replies

Reviews trailers per patch

3 of 18 patches have a Reviewed-by or Acked-by.

PatchAlex BennéeLaurent Vivier
1/19R-b
2/19R-b R-b
3/19R-b
4/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 00/19] Cleanup of TCG tests

Hello,

This patch series cleans up the tcg tests in tests/tcg folder.

The tests have bit-rotten and were not compiling or running. I fixed the Makefiles to make them compile though there are tests which do not pass.

The motivation is to add litmus tests to each arch and have them run using the 'make check' target to test consistency on TCG.

There are no maintainers listed for this test folder. So I am cc'ing people who I think might be interested.

The tests are hooked to the 'tests-tcg' target. Alternatively, as suggested by Alex Bennee you can run a tcg tests for a particular arch from the build/<arch>-linux-user/tests directory as follows:

$ CROSS_CC=<cross-compiler> make -f ../../tests/tcg/<arch>/Makefile

Thanks,
--
Pranith

Marc-André Lureau (9):
linux-user: fix settime old value location
linux-user: fix tcg/mmap test
check-help: add some hint to run a single test tests/tcg: comment unused code
tests/tcg: declare some functions as static
linux-test: fix build
linux-test: fix set/getitimer returned timer check Fix test-i386-fprem compilation
test-i386: modernize vector code v4sf

Pranith Kumar (10):
tests/tcg: Move arm tests to arch specific folder tests/tcg: Move mips test to arch specific folder tests/tcg: Add tests-tcg hook in Makefile tests/tcg/i386: Fix hello-i386 test
tests/tcg: Move i386 tests to arch specific folder tests/tcg/i386: Fix test-i386 compilation tests/tcg: Fix compilation of linux-test.c tests/tcg: Move arch independent tests to misc directory tests/tcg: Add and update Makefiles
tests/tcg: test-i386.c: Fix format warnings

 linux-user/mmap.c                       |  27 +++---
 linux-user/syscall.c                    |   2 +-
 tests/Makefile.include                  |   2 +
 tests/tcg/Makefile                      | 156 --------------------------------
 tests/tcg/Makefile.include              |  33 +++++++
 tests/tcg/alpha/Makefile                |  38 +++++---
 tests/tcg/arm/Makefile                  |  51 +++++++++++
 tests/tcg/{ => arm}/hello-arm.c         |   0
 tests/tcg/{ => arm}/test-arm-iwmmxt.s   |   0
 tests/tcg/cris/Makefile                 |  17 +++-
 tests/tcg/i386/Makefile                 |  87 ++++++++++++++++++
 tests/tcg/{ => i386}/hello-i386.c       |   9 +-
 tests/tcg/{ => i386}/pi_10.com          | Bin
 tests/tcg/{ => i386}/runcom.c           |   0
 tests/tcg/{ => i386}/test-i386-code16.S |   0
 tests/tcg/{ => i386}/test-i386-fprem.c  |  10 +-
 tests/tcg/{ => i386}/test-i386-muldiv.h |   0
 tests/tcg/{ => i386}/test-i386-shift.h  |   0
 tests/tcg/{ => i386}/test-i386-ssse3.c  |   0
 tests/tcg/{ => i386}/test-i386-vm86.S   |   0
 tests/tcg/{ => i386}/test-i386.c        |   7 +-
 tests/tcg/{ => i386}/test-i386.h        |   0
 tests/tcg/lm32/Makefile                 |  17 +++-
 tests/tcg/mips/Makefile                 |  46 ++++++++++
 tests/tcg/{ => mips}/hello-mips.c       |   0
 tests/tcg/mips/mips32-dsp/Makefile      |  17 +++-
 tests/tcg/mips/mips32-dspr2/Makefile    |  17 +++-
 tests/tcg/mips/mips64-dsp/Makefile      |  18 +++-
 tests/tcg/mips/mips64-dspr2/Makefile    |  17 +++-
 tests/tcg/misc/Makefile                 |  81 +++++++++++++++++
 tests/tcg/{ => misc}/linux-test.c       |  57 +++++++-----
 tests/tcg/{ => misc}/sha1.c             |   0
 tests/tcg/{ => misc}/test-mmap.c        |   2 +-
 tests/tcg/{ => misc}/test_path.c        |   0
 tests/tcg/{ => misc}/testthread.c       |   0
 tests/tcg/openrisc/Makefile             |  19 +++-
 tests/tcg/xtensa/Makefile               |  17 +++-
 37 files changed, 518 insertions(+), 229 deletions(-)
 delete mode 100644 tests/tcg/Makefile
 create mode 100644 tests/tcg/Makefile.include
 create mode 100644 tests/tcg/arm/Makefile
 rename tests/tcg/{ => arm}/hello-arm.c (100%)
 rename tests/tcg/{ => arm}/test-arm-iwmmxt.s (100%)
 create mode 100644 tests/tcg/i386/Makefile
 rename tests/tcg/{ => i386}/hello-i386.c (72%)
 rename tests/tcg/{ => i386}/pi_10.com (100%)
 rename tests/tcg/{ => i386}/runcom.c (100%)
 rename tests/tcg/{ => i386}/test-i386-code16.S (100%)
 rename tests/tcg/{ => i386}/test-i386-fprem.c (98%)
 rename tests/tcg/{ => i386}/test-i386-muldiv.h (100%)
 rename tests/tcg/{ => i386}/test-i386-shift.h (100%)
 rename tests/tcg/{ => i386}/test-i386-ssse3.c (100%)
 rename tests/tcg/{ => i386}/test-i386-vm86.S (100%)
 rename tests/tcg/{ => i386}/test-i386.c (99%)
 rename tests/tcg/{ => i386}/test-i386.h (100%)
 create mode 100644 tests/tcg/mips/Makefile
 rename tests/tcg/{ => mips}/hello-mips.c (100%)
 create mode 100644 tests/tcg/misc/Makefile
 rename tests/tcg/{ => misc}/linux-test.c (90%)
 rename tests/tcg/{ => misc}/sha1.c (100%)
 rename tests/tcg/{ => misc}/test-mmap.c (99%)
 rename tests/tcg/{ => misc}/test_path.c (100%)
 rename tests/tcg/{ => misc}/testthread.c (100%)
Signature · 1 line
2.10.2