makefile: Add targets to test GCP

Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
Dave Tucker 2017-04-06 15:23:23 +01:00
parent fddfd0b3ec
commit a4980c8bfb

View File

@ -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