[CRIU] [PATCH 09/10] phaul/Makefile: add a target to run tests

Andrei Vagin avagin at openvz.org
Wed Oct 18 02:59:20 MSK 2017


From: Andrei Vagin <avagin at virtuozzo.com>

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 phaul/Makefile          | 2 +-
 phaul/src/test/Makefile | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 phaul/src/test/Makefile

diff --git a/phaul/Makefile b/phaul/Makefile
index 93bf2273a..93c848c54 100644
--- a/phaul/Makefile
+++ b/phaul/Makefile
@@ -13,5 +13,5 @@ piggie: piggie.c
 clean:
 	rm -rf test_images/
 
-run_test:
+run_test: piggie test
 	unshare -fpm --mount-proc ./test.sh
diff --git a/phaul/src/test/Makefile b/phaul/src/test/Makefile
new file mode 100644
index 000000000..cf7f6c7ed
--- /dev/null
+++ b/phaul/src/test/Makefile
@@ -0,0 +1,2 @@
+all:
+	go build -o test .
-- 
2.13.3



More information about the CRIU mailing list