Commit 17018b3c authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

tests/others: a few fixes of paths

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent ee3bea7b
...@@ -15,7 +15,7 @@ TESTS = unix-callback mem-snap rpc libcriu mounts/ext security pipes crit socket ...@@ -15,7 +15,7 @@ TESTS = unix-callback mem-snap rpc libcriu mounts/ext security pipes crit socket
other: other:
for t in $(TESTS); do \ for t in $(TESTS); do \
setsid $(MAKE) -C $$t run || exit 1; \ setsid $(MAKE) -C others/$$t run || exit 1; \
done done
.PHONY: other .PHONY: other
......
#!/bin/sh #!/bin/sh
CRIU=$(readlink -f `dirname ${BASH_SOURCE[0]}`/../criu/criu) CRIU=$(readlink -f `dirname ${BASH_SOURCE[0]}`/../../criu/criu)
criu=$CRIU criu=$CRIU
#!/bin/bash #!/bin/bash
CRIU=../../../criu CRIU=../../../criu/criu
set -x set -x
mkdir -p dump mkdir -p dump
......
...@@ -46,7 +46,7 @@ typedef unsigned long ulong; ...@@ -46,7 +46,7 @@ typedef unsigned long ulong;
#define MAX_FORKS 3 /* child, checkpoint, restore */ #define MAX_FORKS 3 /* child, checkpoint, restore */
#define CRIU_BINARY "../../criu/criu" #define CRIU_BINARY "../../../criu/criu"
#define IMG_DIR "images" #define IMG_DIR "images"
#define DUMP_LOG_FILE "dump.log" #define DUMP_LOG_FILE "dump.log"
#define RESTORE_LOG_FILE "restore.log" #define RESTORE_LOG_FILE "restore.log"
......
...@@ -7,10 +7,10 @@ unix.pb-c.c: unix.proto ...@@ -7,10 +7,10 @@ unix.pb-c.c: unix.proto
protoc-c --proto_path=. --c_out=. unix.proto protoc-c --proto_path=. --c_out=. unix.proto
unix-lib.so: unix-lib.c unix.pb-c.c unix-lib.so: unix-lib.c unix.pb-c.c
gcc -g -Werror -Wall -shared -nostartfiles unix-lib.c unix.pb-c.c -o unix-lib.so -iquote ../../include -fPIC gcc -g -Werror -Wall -shared -nostartfiles unix-lib.c unix.pb-c.c -o unix-lib.so -iquote ../../../criu/include -fPIC
syslog-lib.so: syslog-lib.c syslog-lib.so: syslog-lib.c
gcc -g -Werror -Wall -shared -nostartfiles syslog-lib.c -o syslog-lib.so -iquote ../../include -fPIC gcc -g -Werror -Wall -shared -nostartfiles syslog-lib.c -o syslog-lib.so -iquote ../../../criu/include -fPIC
unix-server: unix-server.c unix-server: unix-server.c
gcc -Werror -Wall -o unix-server unix-server.c gcc -Werror -Wall -o unix-server unix-server.c
......
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