Просмотр исходного кода

Temporarily disable the core-autopatch-no-autopatch-rebar test

The rebar in the lager repository is not compatible with OTP-23,
causing this test case to fail.
Loïc Hoguin 4 лет назад
Родитель
Сommit
944c69634a
1 измененных файлов с 20 добавлено и 20 удалено
  1. 20 20
      test/core_autopatch.mk

+ 20 - 20
test/core_autopatch.mk

@@ -85,26 +85,26 @@ core-autopatch-no-autopatch-erlang-mk: init
 	$i "Check that Erlang.mk was not autopatched"
 	$t grep -q Hoguin $(APP)/deps/cowlib/erlang.mk
 
-core-autopatch-no-autopatch-rebar: init
-
-	$i "Bootstrap a new OTP library named $(APP)"
-	$t mkdir $(APP)/
-	$t cp ../erlang.mk $(APP)/
-	$t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v
-
-	$i "Add Lager to the list of dependencies and to the NO_AUTOPATCH list"
-	$t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = lager\nNO_AUTOPATCH = lager\n"}' $(APP)/Makefile
-
-	$i "Build the application"
-	$t $(MAKE) -C $(APP) $v
-
-	$i "Check that all dependencies were fetched"
-	$t test -d $(APP)/deps/goldrush
-	$t test -d $(APP)/deps/lager
-
-	$i "Check that Lager was not autopatched"
-	$t if grep -q erlang\.mk $(APP)/deps/goldrush/Makefile; then false; fi
-	$t if grep -q erlang\.mk $(APP)/deps/lager/Makefile; then false; fi
+#core-autopatch-no-autopatch-rebar: init
+#
+#	$i "Bootstrap a new OTP library named $(APP)"
+#	$t mkdir $(APP)/
+#	$t cp ../erlang.mk $(APP)/
+#	$t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v
+#
+#	$i "Add Lager to the list of dependencies and to the NO_AUTOPATCH list"
+#	$t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = lager\nNO_AUTOPATCH = lager\n"}' $(APP)/Makefile
+#
+#	$i "Build the application"
+#	$t $(MAKE) -C $(APP) $v
+#
+#	$i "Check that all dependencies were fetched"
+#	$t test -d $(APP)/deps/goldrush
+#	$t test -d $(APP)/deps/lager
+#
+#	$i "Check that Lager was not autopatched"
+#	$t if grep -q erlang\.mk $(APP)/deps/goldrush/Makefile; then false; fi
+#	$t if grep -q erlang\.mk $(APP)/deps/lager/Makefile; then false; fi
 
 core-autopatch-port_env: init