feat: add test:iso command to run.sh for VM testing
Add test:iso command to run.sh that delegates to test-iso.sh for libvirt/virsh-based ISO testing. Keep test functionality accessible through main run.sh interface while maintaining host-side execution requirements. 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
5
run.sh
5
run.sh
@@ -22,6 +22,7 @@ usage() {
|
|||||||
echo "Commands:"
|
echo "Commands:"
|
||||||
echo " build Build Docker image"
|
echo " build Build Docker image"
|
||||||
echo " test Run all tests"
|
echo " test Run all tests"
|
||||||
|
echo " test:iso Test ISO with libvirt VM (runs on host)"
|
||||||
echo " lint Run linting checks"
|
echo " lint Run linting checks"
|
||||||
echo " clean Clean build artifacts"
|
echo " clean Clean build artifacts"
|
||||||
echo " shell Interactive shell in build container"
|
echo " shell Interactive shell in build container"
|
||||||
@@ -136,6 +137,10 @@ else
|
|||||||
fi
|
fi
|
||||||
' 2>&1 | tee /tmp/knel-iso-build.log
|
' 2>&1 | tee /tmp/knel-iso-build.log
|
||||||
;;
|
;;
|
||||||
|
test:iso)
|
||||||
|
shift # Remove 'test:iso' from args
|
||||||
|
bash "${SCRIPT_DIR}/test-iso.sh" "$@"
|
||||||
|
;;
|
||||||
help|*)
|
help|*)
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user