aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-06-26 18:04:48 +0200
committerLoïc Hoguin <[email protected]>2019-06-26 18:05:44 +0200
commit80ddc8d5a8a6a60da99fb34fb5f12ce4f36d8d63 (patch)
tree07337faecab8eb0ed38c7ea3c648a4e5d7f15703
parent3d4edcf31426a766be26caae329ff0cc688a83d7 (diff)
downloaderlang.mk-80ddc8d5a8a6a60da99fb34fb5f12ce4f36d8d63.tar.gz
erlang.mk-80ddc8d5a8a6a60da99fb34fb5f12ce4f36d8d63.tar.bz2
erlang.mk-80ddc8d5a8a6a60da99fb34fb5f12ce4f36d8d63.zip
Don't try to start/stop releases in bootstrap-rel test
We already have relx-start-stop for that.
-rw-r--r--test/plugin_bootstrap.mk16
-rw-r--r--test/plugin_relx.mk3
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.