mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Use custom kernel for all tests
This should reduce the integration testing time considerably. When a custom kernel is no longer required we can pull kernel from tarball again. Fixes: #100 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
3cc6f48c31
commit
ebe04f6db9
@@ -733,7 +733,7 @@ mod tests {
|
||||
workload_path.push("workloads");
|
||||
|
||||
let mut kernel_path = workload_path.clone();
|
||||
kernel_path.push("vmlinux-custom");
|
||||
kernel_path.push("vmlinux");
|
||||
|
||||
let mut child = Command::new("target/debug/cloud-hypervisor")
|
||||
.args(&["--cpus", "1"])
|
||||
@@ -788,7 +788,7 @@ mod tests {
|
||||
workload_path.push("workloads");
|
||||
|
||||
let mut kernel_path = workload_path.clone();
|
||||
kernel_path.push("vmlinux-custom");
|
||||
kernel_path.push("vmlinux");
|
||||
|
||||
let pmem_backend_path = guest.tmp_dir.path().join("/tmp/pmem-file");
|
||||
let mut pmem_backend_file = OpenOptions::new()
|
||||
@@ -868,7 +868,7 @@ mod tests {
|
||||
workload_path.push("workloads");
|
||||
|
||||
let mut kernel_path = workload_path.clone();
|
||||
kernel_path.push("vmlinux-custom");
|
||||
kernel_path.push("vmlinux");
|
||||
|
||||
let mut child = Command::new("target/debug/cloud-hypervisor")
|
||||
.args(&["--cpus", "1"])
|
||||
|
||||
Reference in New Issue
Block a user