Commit 43ad1757 authored by Michael Holzheu's avatar Michael Holzheu Committed by Pavel Emelyanov

s390/zdtm: Add s390x_reg_check test case

This test can be used to verify FP and VX registers on s390:

- Verify that "criu restore" sets the correct register sets
  from "criu dump":
  $ zdtmp.py run -t zdtm/static/s390x_regs_check

- Verify that dumpee continues running with correct registers after
  parasite injection:
  $ zdtm.py run --norst -t zdtm/static/s390x_regs_check
  $ zdtm.py run --norst --pre 2 -t zdtm/static/s390x_regs_check
  $ zdtm.py run --check-only -t zdtm/static/s390x_regs_check
Reviewed-by: 's avatarAlice Frosi <alice@linux.vnet.ibm.com>
Signed-off-by: 's avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 7083f153
...@@ -182,6 +182,10 @@ ifneq ($(COMPAT_TEST),y) ...@@ -182,6 +182,10 @@ ifneq ($(COMPAT_TEST),y)
endif endif
endif endif
ifeq ($(SRCARCH),s390)
TST_NOFILE += s390x_regs_check
endif
TST_FILE = \ TST_FILE = \
maps06 \ maps06 \
write_read00 \ write_read00 \
...@@ -462,6 +466,8 @@ pty-console: CFLAGS += -D ZDTM_DEV_CONSOLE ...@@ -462,6 +466,8 @@ pty-console: CFLAGS += -D ZDTM_DEV_CONSOLE
shm-unaligned: CFLAGS += -DZDTM_SHM_UNALIGNED shm-unaligned: CFLAGS += -DZDTM_SHM_UNALIGNED
s390x_regs_check: LDFLAGS += -pthread
$(LIB): force $(LIB): force
$(Q) $(MAKE) -C $(LIBDIR) $(Q) $(MAKE) -C $(LIBDIR)
......
This diff is collapsed.
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