diff --git a/scripts/run_integration_tests_x86_64.sh b/scripts/run_integration_tests_x86_64.sh index a9ba7a180..615e6608e 100755 --- a/scripts/run_integration_tests_x86_64.sh +++ b/scripts/run_integration_tests_x86_64.sh @@ -124,7 +124,9 @@ popd # Build custom kernel based on virtio-pmem and virtio-fs upstream patches VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux" -build_custom_linux +if [ ! -f "$VMLINUX_IMAGE" ]; then + build_custom_linux +fi VIRTIOFSD="$WORKLOADS_DIR/virtiofsd" VIRTIOFSD_DIR="virtiofsd_build"