aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_bootstrap.mk
diff options
context:
space:
mode:
authorderwinlu <[email protected]>2015-09-24 17:02:52 +0200
committerLoïc Hoguin <[email protected]>2016-10-28 13:41:17 +0300
commite4ff8a0239a8bad28d497278665a104dc7ffaf1a (patch)
tree909098b6c91b3af88aadf6e627690b9c9ebdfdd7 /test/plugin_bootstrap.mk
parent9ad930ca4667ab2db17f8c8d6446a674cb842141 (diff)
downloaderlang.mk-e4ff8a0239a8bad28d497278665a104dc7ffaf1a.tar.gz
erlang.mk-e4ff8a0239a8bad28d497278665a104dc7ffaf1a.tar.bz2
erlang.mk-e4ff8a0239a8bad28d497278665a104dc7ffaf1a.zip
add tests for relx plugin
* relx-rel + check that relx gets downloaded when relx.config exists, + check structure of built release + check that _rel directory does not get delete by 'make clean' * relx-run + build a simple release, check if it starts and stops normally * relx-rel-tar + check if RELX_OPTS are respected via supplying the 'tar' target * relx-distclean-relx + check that relx executable gets deleted * relx-distclean-relx-rel + check that _rel directory gets deleted * relx-relup + check if relup generation is possible and generated relup is working add sleeps after calls to async actions of the relx boot script
Diffstat (limited to 'test/plugin_bootstrap.mk')
-rw-r--r--test/plugin_bootstrap.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/plugin_bootstrap.mk b/test/plugin_bootstrap.mk
index 2b62b6f..60b9d7e 100644
--- a/test/plugin_bootstrap.mk
+++ b/test/plugin_bootstrap.mk
@@ -100,10 +100,12 @@ endif
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