Skip to content

Commit 7841fbb

Browse files
author
José Valim
committed
Do not fail suite if there are no tests to run
This matters in umbrella apps where some apps may not have Elixir tests. Closes #8040 Signed-off-by: José Valim <[email protected]>
1 parent f5773fe commit 7841fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/tasks/test.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ defmodule Mix.Tasks.Test do
407407
Mix.shell().info("No stale tests")
408408

409409
files == [] ->
410-
raise_or_error_at_exit("There are no tests to run", opts)
410+
Mix.shell().info("There are no tests to run")
411411

412412
true ->
413413
message = "Paths given to `mix test` did not match any directory/file: "

0 commit comments

Comments
 (0)