summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-07-22 19:34:29 +0800
committerGitHub <noreply@github.com>2021-07-22 13:34:29 +0200
commit4861b13aabd61d2df600e79a2e621fa1f3b870c3 (patch)
tree8cb7d995f236425ee825491f79ab6189d9a93b9b /cli/main.rs
parent78fc9a4c600d28bf4c899695076f0bce159fb7a6 (diff)
fix(cli): normalize test command errors (#11375)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 16b2df0e7..f69772437 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -1234,7 +1234,7 @@ async fn test_command(
tools::test_runner::is_supported,
)?;
- let failed = test_runner::run_tests(
+ test_runner::run_tests(
program_state.clone(),
permissions,
lib,
@@ -1249,10 +1249,6 @@ async fn test_command(
concurrent_jobs,
)
.await?;
-
- if failed {
- std::process::exit(1);
- }
}
Ok(())