Browse Source

Don't run core-deps-optional test when LEGACY=1

Loïc Hoguin 1 year ago
parent
commit
0ce8ee39bb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test/core_deps.mk

+ 2 - 0
test/core_deps.mk

@@ -1237,6 +1237,7 @@ core-deps-mv-rebar: init
 	$i "Build the application"
 	$t $(MAKE) -C $(APP)-moved $v
 
+ifndef LEGACY
 core-deps-optional: init
 
 	$i "Bootstrap a new OTP application named $(APP)"
@@ -1260,6 +1261,7 @@ core-deps-optional: init
 		true = lists:member(quicer, Deps), \
 		{ok, [quicer]} = application:get_key($(APP), optional_applications), \
 		halt()"
+endif
 
 # A lower-level dependency of the first dependency always
 # wins over a lower-level dependency of the second dependency.