summaryrefslogtreecommitdiffstats
path: root/tests/README.md
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2026-02-06 03:54:31 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-02-06 03:54:31 +0000
commit5aab0f92f1e774305c23802566d75922f65e0862 (patch)
tree11193654c643a39e768c267435d562e8e04e8794 /tests/README.md
parent8c31b451c6f5a9d0bb526ee77f467e5b48846bb4 (diff)
downloadmeta-virtualization-container-cross-install.tar.gz
container-cross-install: add tests and documentation for custom service filescontainer-cross-install
Add pytest tests to verify CONTAINER_SERVICE_FILE varflag support: TestCustomServiceFileSupport (unit tests, no build required): - test_bbclass_has_service_file_support - test_bundle_class_has_service_file_support - test_service_file_map_syntax - test_install_custom_service_function TestCustomServiceFileBoot (boot tests, require built image): - test_systemd_services_directory_exists - test_container_services_present - test_container_service_enabled - test_custom_service_content - test_podman_quadlet_directory Documentation updates: - docs/container-bundling.md: Add "Custom Service Files" section with variable format, usage examples for both BUNDLED_CONTAINERS and container-bundle packages, and example .service/.container files - tests/README.md: Add test class entries to structure diagram and "What the Tests Check" table Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/README.md b/tests/README.md
index 4f5aed28..09bc70ca 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -162,6 +162,8 @@ BBMULTICONFIG = "vruntime-aarch64 vruntime-x86-64"
162| `TestVdkrRecipes` | vdkr recipe builds | `bitbake vcontainer-tarball` | 162| `TestVdkrRecipes` | vdkr recipe builds | `bitbake vcontainer-tarball` |
163| `TestMulticonfig` | Multiconfig setup | `BBMULTICONFIG` configured | 163| `TestMulticonfig` | Multiconfig setup | `BBMULTICONFIG` configured |
164| `TestBundledContainersBoot` | **Boot image and verify containers** | Full image with Docker/Podman | 164| `TestBundledContainersBoot` | **Boot image and verify containers** | Full image with Docker/Podman |
165| `TestCustomServiceFileSupport` | CONTAINER_SERVICE_FILE varflag support | None (file check only) |
166| `TestCustomServiceFileBoot` | Custom service files installed correctly | Full image with autostart containers |
165 167
166### Boot Tests (TestBundledContainersBoot) 168### Boot Tests (TestBundledContainersBoot)
167 169
@@ -440,7 +442,9 @@ tests/
440│ ├── TestBundledContainers # end-to-end bundling 442│ ├── TestBundledContainers # end-to-end bundling
441│ ├── TestVdkrRecipes # vdkr builds 443│ ├── TestVdkrRecipes # vdkr builds
442│ ├── TestMulticonfig # multiconfig setup 444│ ├── TestMulticonfig # multiconfig setup
443│ └── TestBundledContainersBoot # boot and verify containers 445│ ├── TestBundledContainersBoot # boot and verify containers
446│ ├── TestCustomServiceFileSupport # CONTAINER_SERVICE_FILE varflag support
447│ └── TestCustomServiceFileBoot # custom service file boot verification
444├── test_multiarch_oci.py # Multi-architecture OCI tests 448├── test_multiarch_oci.py # Multi-architecture OCI tests
445│ ├── TestOCIImageIndexDetection # multi-arch OCI detection 449│ ├── TestOCIImageIndexDetection # multi-arch OCI detection
446│ ├── TestPlatformSelection # arch selection (aarch64/x86_64) 450│ ├── TestPlatformSelection # arch selection (aarch64/x86_64)