From 80ddc8d5a8a6a60da99fb34fb5f12ce4f36d8d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 26 Jun 2019 18:04:48 +0200 Subject: Don't try to start/stop releases in bootstrap-rel test We already have relx-start-stop for that. --- test/plugin_bootstrap.mk | 16 ---------------- test/plugin_relx.mk | 3 +++ 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/test/plugin_bootstrap.mk b/test/plugin_bootstrap.mk index 8f92fc7..7093fce 100644 --- a/test/plugin_bootstrap.mk +++ b/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)" diff --git a/test/plugin_relx.mk b/test/plugin_relx.mk index 6b6baed..c65e672 100644 --- a/test/plugin_relx.mk +++ b/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. -- cgit v1.2.3