@@ -66,7 +66,7 @@ defmodule Mix.UmbrellaTest do
6666 # Ensure we can compile and run checks
6767 Mix.Task . run ( "deps.compile" )
6868 Mix.Task . run ( "deps.loadpaths" )
69- Mix.Task . run ( "compile" , [ "--verbose" ] )
69+ Mix.Task . run ( "compile" )
7070
7171 # Extra applications are picked even for umbrellas
7272 assert :code . where_is_file ( ~c" runtime_tools.app" ) != :non_existing
@@ -83,6 +83,13 @@ defmodule Mix.UmbrellaTest do
8383 assert_received { :mix_shell , :info , [ ":foo env is dev" ] }
8484 assert_received { :mix_shell , :info , [ ":bar env is dev" ] }
8585
86+ # Ensure we can compile --force
87+ Mix.Task . clear ( )
88+ Mix.Task . run ( "compile" , [ "--force" ] )
89+ assert_received { :mix_shell , :info , [ "Generated foo app" ] }
90+ assert_received { :mix_shell , :info , [ "Generated bar app" ] }
91+
92+ # Ensure we can start even with --no-compile
8693 Mix.Task . clear ( )
8794 Mix.Task . run ( "app.start" , [ "--no-compile" ] )
8895 end )
@@ -282,23 +289,6 @@ defmodule Mix.UmbrellaTest do
282289 end )
283290 end
284291
285- test "compile for umbrella as dependency with os partitions" do
286- System . put_env ( "MIX_OS_DEPS_COMPILE_PARTITION_COUNT" , "2" )
287-
288- in_fixture ( "umbrella_dep" , fn ->
289- Mix.Project . in_project ( :umbrella_dep , "." , fn _ ->
290- output = ExUnit.CaptureIO . capture_io ( fn -> Mix.Task . run ( "compile" ) end )
291- assert output =~ ~r/ \d > :foo env is prod/
292- assert output =~ ~r/ \d > :bar env is prod/
293-
294- assert_received { :mix_shell , :info , [ "mix deps.compile running across 2 OS processes" ] }
295- assert Bar . bar ( ) == "hello world"
296- end )
297- end )
298- after
299- System . delete_env ( "MIX_OS_DEPS_COMPILE_PARTITION_COUNT" )
300- end
301-
302292 defmodule CycleDeps do
303293 def project do
304294 [
0 commit comments