2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 05:18:00 +00:00

test: Get rid of live directory

Move static and transition into zdtm top. We can't move all the micro
tests themselves, as we need to distinguish static from non static (zdtm.py
makes additional checks on static ones).

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov 2016-02-19 16:36:37 +03:00
parent 02b22eba8b
commit 2e13f1f029
427 changed files with 15 additions and 19 deletions

View File

@ -1 +1 @@
{ 'dir': 'zdtm/live/', 'exclude': [ 'static/route_rules', 'static/criu-rtc.so' ] } { 'dir': 'zdtm/', 'exclude': [ 'static/route_rules', 'static/criu-rtc.so', 'lib/parseargs.sh', 'lib/stop_and_chk.sh' ] }

View File

@ -418,7 +418,7 @@ class zdtm_test:
print " <<< " + "=" * 32 print " <<< " + "=" * 32
def static(self): def static(self):
return self.__name.split('/')[2] == 'static' return self.__name.split('/')[1] == 'static'
def ns(self): def ns(self):
return self.__flavor.ns return self.__flavor.ns

View File

@ -1,15 +1,18 @@
SUBDIRS = lib live SUBDIRS = lib static transition
default: all default: all
.PHONY: default lib live .PHONY: default lib static transition
lib: lib:
$(MAKE) -C lib all $(MAKE) -C lib all
live: lib static: lib
$(MAKE) -C live all $(MAKE) -C static all
all: lib live transition: lib
$(MAKE) -C transition all
all: lib static transition
@true @true
%: %:
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

View File

@ -1,7 +0,0 @@
SUBDIRS = transition static
default: all
.PHONY: default
%:
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done

View File

@ -1,6 +1,6 @@
include ../../Makefile.inc include ../Makefile.inc
LIBDIR = ../../lib LIBDIR = ../lib
LIB = $(LIBDIR)/libzdtmtst.a LIB = $(LIBDIR)/libzdtmtst.a
override CPPFLAGS += -I$(LIBDIR) override CPPFLAGS += -I$(LIBDIR)
CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
@ -400,7 +400,7 @@ criu-rtc.pb-c.c: criu-rtc.proto
protoc-c --proto_path=. --c_out=. criu-rtc.proto protoc-c --proto_path=. --c_out=. criu-rtc.proto
criu-rtc.so: criu-rtc.c criu-rtc.pb-c.c criu-rtc.so: criu-rtc.c criu-rtc.pb-c.c
$(CC) -g -Wall -shared -nostartfiles criu-rtc.c criu-rtc.pb-c.c -o criu-rtc.so -iquote ../../../../criu/include -fPIC $(USERCFLAGS) $(CC) -g -Wall -shared -nostartfiles criu-rtc.c criu-rtc.pb-c.c -o criu-rtc.so -iquote ../../../criu/include -fPIC $(USERCFLAGS)
.PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop .PHONY: force clean cleandep cleanout realclean start check_start stop wait_stop

Some files were not shown because too many files have changed in this diff Show More