mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
tests: Skip building kernel if already present
When running the glibc and musl integration tests on the CI after each other skip building the kernel a second time. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
f4e1b72477
commit
103fe1f48b
@ -124,7 +124,9 @@ popd
|
|||||||
|
|
||||||
# Build custom kernel based on virtio-pmem and virtio-fs upstream patches
|
# Build custom kernel based on virtio-pmem and virtio-fs upstream patches
|
||||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
||||||
|
if [ ! -f "$VMLINUX_IMAGE" ]; then
|
||||||
build_custom_linux
|
build_custom_linux
|
||||||
|
fi
|
||||||
|
|
||||||
VIRTIOFSD="$WORKLOADS_DIR/virtiofsd"
|
VIRTIOFSD="$WORKLOADS_DIR/virtiofsd"
|
||||||
VIRTIOFSD_DIR="virtiofsd_build"
|
VIRTIOFSD_DIR="virtiofsd_build"
|
||||||
|
Loading…
Reference in New Issue
Block a user