Commit 19e4ab4f authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Andrei Vagin

zdtm: add compatible tests building

`make test COMPAT_TEST=y` will build all executable tests as i386 ELFs.

For building tests, need the following libraries from multilib:
libaio.i686 libaio-devel.i686 libcap-devel.i686 libcap.i686

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent ae119678
SUBDIRS = lib static transition
ifeq ($(COMPAT_TEST),y)
ifeq ($(ARCH),x86)
export USERCFLAGS += -m32
export CFLAGS += -m32
export LDFLAGS += -m32
endif
endif
default: all
.PHONY: default lib static transition
......
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