mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-01 14:52:41 +00:00
This adds a test suite to be executed using `linuxkit/rtf`. This is installed in the top-level Makefile The tests are written in shell script and cover the following cases: - Kernel Config is OK! - Kernel Modules can be built and loaded - QEMU can build and run kernel+initrd, iso-bios and iso-uefi - That we can build for all other supported output formats - That all of the examples in `./examples` can be built - The LTP tests can be run (if `-l slow` is provided) The virtsock and docker-bench tests were migrated but no test has been written as yet as AFAICT they are still a WIP Signed-off-by: Dave Tucker <dt@docker.com>
Linuxkit Tests Labels
Usage of Artifacts vs Temporary Directory
As the Build Machines have no secrets they will not be able to test running the build output on any cloud providers.
In this instance, the build tests should copy their output to the LINUXKIT_ARTIFACTS_DIRECTORY
Labels
The gcp label is applied when the system where the tests are being run meets the requirements for using Google Cloud Platform.
These requirements are:
- The system has the necessary
CLOUDSDK_*environment variables exported - The system has either keys for a GCP service account or is able to use application default credentials
The packet.net label is applied when a system is able to create machines on Packet.net
The vmware label is used when the machine has VMware Workstation or Fusion installed