From d3be855b4bd202ec91604c6345c1758448fbc9ae Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 14 Mar 2022 09:51:11 +0000 Subject: [PATCH] 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 --- performance-metrics/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance-metrics/src/main.rs b/performance-metrics/src/main.rs index 1324620d4..5eac338b9 100644 --- a/performance-metrics/src/main.rs +++ b/performance-metrics/src/main.rs @@ -488,7 +488,7 @@ fn main() { } Err(e) => { eprintln!("Aborting test due to error: '{:?}'", e); - break; + std::process::exit(1); } }; }