mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-30 09:13:29 +00:00
build: Added targets to run tests
Updated the `Makefile` to provide the following new targets: ``` make test # Run all tests. make test-image-only # Only run image tests. make test-initrd-only # Only run initrd tests. ``` Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
0ea8ef76f0
commit
0cd64fb5c9
9
Makefile
9
Makefile
@ -32,3 +32,12 @@ initrd: rootfs initrd-only
|
|||||||
initrd-only:
|
initrd-only:
|
||||||
@echo Creating initrd image based on "$(DISTRO_ROOTFS)"
|
@echo Creating initrd image based on "$(DISTRO_ROOTFS)"
|
||||||
"$(MK_DIR)/initrd-builder/initrd_builder.sh" "$(DISTRO_ROOTFS)"
|
"$(MK_DIR)/initrd-builder/initrd_builder.sh" "$(DISTRO_ROOTFS)"
|
||||||
|
|
||||||
|
test:
|
||||||
|
"$(MK_DIR)/tests/test_images.sh" "$(DISTRO)"
|
||||||
|
|
||||||
|
test-image-only:
|
||||||
|
"$(MK_DIR)/tests/test_images.sh" --test-images-only "$(DISTRO)"
|
||||||
|
|
||||||
|
test-initrd-only:
|
||||||
|
"$(MK_DIR)/tests/test_images.sh" --test-initrds-only "$(DISTRO)"
|
||||||
|
Loading…
Reference in New Issue
Block a user