mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +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) => {
|
||||
eprintln!("Aborting test due to error: '{:?}'", e);
|
||||
break;
|
||||
std::process::exit(1);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user