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:
Rob Bradford 2022-03-14 09:51:11 +00:00 committed by Sebastien Boeuf
parent 0cbdbc8122
commit d3be855b4b

View File

@ -488,7 +488,7 @@ fn main() {
}
Err(e) => {
eprintln!("Aborting test due to error: '{:?}'", e);
break;
std::process::exit(1);
}
};
}