Browse Source

Don't try to start/stop releases in bootstrap-rel test

We already have relx-start-stop for that.
Loïc Hoguin 6 years ago
parent
commit
80ddc8d5a8
2 changed files with 3 additions and 16 deletions
  1. 0 16
      test/plugin_bootstrap.mk
  2. 3 0
      test/plugin_relx.mk

+ 0 - 16
test/plugin_bootstrap.mk

@@ -227,22 +227,6 @@ else
 	$t test -f $(APP)/_rel/$(APP)_release/bin/$(APP)_release
 endif
 
-	$i "Check that the release can be started and stopped"
-ifeq ($(PLATFORM),msys2)
-	$t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd install $v
-	$t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd start $v
-	$t sleep 1
-	$t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd stop $v
-	$t $(APP)/_rel/$(APP)_release/bin/$(APP)_release.cmd uninstall $v
-else
-	$t $(APP)/_rel/$(APP)_release/bin/$(APP)_release start $v
-	$t sleep 1
-	$t $(APP)/_rel/$(APP)_release/bin/$(APP)_release stop $v
-endif
-
-	$i "Check that there's no erl_crash.dump file"
-	$t test ! -f $(APP)/_rel/$(APP)_release/erl_crash.dump
-
 bootstrap-sp: init
 
 	$i "Bootstrap a new OTP application named $(APP)"

+ 3 - 0
test/plugin_relx.mk

@@ -313,6 +313,9 @@ ifeq ($(PLATFORM),msys2)
 	$t $(APP)/_rel/$(APP)_release/bin/$(APP)_release$(RELX_REL_EXT) uninstall
 endif
 
+	$i "Check that there's no erl_crash.dump file"
+	$t test ! -f $(APP)/_rel/$(APP)_release/erl_crash.dump
+
 ifneq ($(PLATFORM),msys2)
 # The script will not return false on Windows when the ping fails.
 # It sometimes also gets stuck. So we just skip the ping for now.