mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
performance-metrics: Exit binary with non-zero exit code on test failure
This ensures that partial reports are not generated. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
0cbdbc8122
commit
d3be855b4b
@ -488,7 +488,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!("Aborting test due to error: '{:?}'", e);
|
eprintln!("Aborting test due to error: '{:?}'", e);
|
||||||
break;
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user