mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +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:
parent
02b22eba8b
commit
2e13f1f029
@ -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' ] }
|
||||
|
@ -418,7 +418,7 @@ class zdtm_test:
|
||||
print " <<< " + "=" * 32
|
||||
|
||||
def static(self):
|
||||
return self.__name.split('/')[2] == 'static'
|
||||
return self.__name.split('/')[1] == 'static'
|
||||
|
||||
def ns(self):
|
||||
return self.__flavor.ns
|
||||
|
@ -1,15 +1,18 @@
|
||||
SUBDIRS = lib live
|
||||
SUBDIRS = lib static transition
|
||||
|
||||
default: all
|
||||
.PHONY: default lib live
|
||||
.PHONY: default lib static transition
|
||||
|
||||
lib:
|
||||
$(MAKE) -C lib all
|
||||
|
||||
live: lib
|
||||
$(MAKE) -C live all
|
||||
static: lib
|
||||
$(MAKE) -C static all
|
||||
|
||||
all: lib live
|
||||
transition: lib
|
||||
$(MAKE) -C transition all
|
||||
|
||||
all: lib static transition
|
||||
@true
|
||||
%:
|
||||
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
|
||||
|
@ -1,7 +0,0 @@
|
||||
SUBDIRS = transition static
|
||||
|
||||
default: all
|
||||
.PHONY: default
|
||||
|
||||
%:
|
||||
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
|
@ -1,6 +1,6 @@
|
||||
include ../../Makefile.inc
|
||||
include ../Makefile.inc
|
||||
|
||||
LIBDIR = ../../lib
|
||||
LIBDIR = ../lib
|
||||
LIB = $(LIBDIR)/libzdtmtst.a
|
||||
override CPPFLAGS += -I$(LIBDIR)
|
||||
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
|
||||
|
||||
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
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user