diff options
author | Loïc Hoguin <[email protected]> | 2017-04-25 14:12:46 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-04-25 14:20:19 +0200 |
commit | f4e69407d886546e154d57c668cb246abb38abf6 (patch) | |
tree | f19a4160f8cc12e93679c2d9ebc766594787e754 /test/plugin_relx.mk | |
parent | bb1b6556c295be7e4be0bdaa1aeb973a67d00223 (diff) | |
download | erlang.mk-f4e69407d886546e154d57c668cb246abb38abf6.tar.gz erlang.mk-f4e69407d886546e154d57c668cb246abb38abf6.tar.bz2 erlang.mk-f4e69407d886546e154d57c668cb246abb38abf6.zip |
Use $(if) instead of ifeq and add a test for RELX_TAR=0
Diffstat (limited to 'test/plugin_relx.mk')
-rw-r--r-- | test/plugin_relx.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/plugin_relx.mk b/test/plugin_relx.mk index c3cdea4..f2d7f07 100644 --- a/test/plugin_relx.mk +++ b/test/plugin_relx.mk @@ -184,6 +184,12 @@ relx-tar: build clean $t cp ../erlang.mk $(APP)/ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v + $i "Build the release without a tarball" + $t $(MAKE) -C $(APP) RELX_TAR=0 $v + + $i "Check that tarball doesn't exist" + $t test ! -e $(APP)/_rel/$(APP)_release/$(APP)_release-1.tar.gz + $i "Build the release as a tarball" $t $(MAKE) -C $(APP) $v |