Browse Source

Also test WITHOUT when updating Erlang.mk

Loïc Hoguin 8 years ago
parent
commit
2cce1853de
1 changed files with 10 additions and 2 deletions
  1. 10 2
      test/core_misc.mk

+ 10 - 2
test/core_misc.mk

@@ -62,7 +62,11 @@ core-without-edoc: clean
 	$i "Confirm that the EDoc plugin was not included."
 	$i "Confirm that the EDoc plugin was not included."
 	$t ! grep -q distclean-edoc $(APP)/erlang.mk
 	$t ! grep -q distclean-edoc $(APP)/erlang.mk
 
 
-# @todo Update Erlang.mk and confirm this sticks.
+	$i "Update Erlang.mk"
+	$t $(MAKE) -C $(APP) -f erlang.mk erlang-mk $v
+
+	$i "Confirm that the EDoc plugin is still not included."
+	$t ! grep -q distclean-edoc $(APP)/erlang.mk
 
 
 core-without-index: clean
 core-without-index: clean
 
 
@@ -75,7 +79,11 @@ core-without-index: clean
 	$i "Confirm that the index was not included."
 	$i "Confirm that the index was not included."
 	$t ! grep -q pkg_cowboy $(APP)/erlang.mk
 	$t ! grep -q pkg_cowboy $(APP)/erlang.mk
 
 
-# @todo Update Erlang.mk and confirm this sticks.
+	$i "Update Erlang.mk"
+	$t $(MAKE) -C $(APP) -f erlang.mk erlang-mk $v
+
+	$i "Confirm that the index is still not included."
+	$t ! grep -q pkg_cowboy $(APP)/erlang.mk
 
 
 core-without-many: clean
 core-without-many: clean