From a4980c8bfb26c3347e42c1dc0d6c822733fbd684 Mon Sep 17 00:00:00 2001
From: Dave Tucker
Date: Thu, 6 Apr 2017 15:23:23 +0100
Subject: [PATCH] makefile: Add targets to test GCP
Signed-off-by: Dave Tucker
---
Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile b/Makefile
index 674db1e96..838a48e97 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,11 @@ hyperkit-test: $(MOBY) test-initrd.img test-bzImage test-cmdline
script -q /dev/null $(MOBY) run test | tee test.log
$(call check_test_log, test.log)
+.PHONY: test-gcp
+test-gcp: $(MOBY) test.img.tar.gz
+ script -q /dev/null $(MOBY) run gcp test.img.tar.gz | tee test-gcp.log
+ $(call check_test_log, test-gcp.log)
+
.PHONY: test
test: test-initrd.img test-bzImage test-cmdline
tar cf - $^ | ./scripts/qemu.sh 2>&1 | tee test.log