From f4e69407d886546e154d57c668cb246abb38abf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 25 Apr 2017 14:12:46 +0200 Subject: Use $(if) instead of ifeq and add a test for RELX_TAR=0 --- test/plugin_relx.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/plugin_relx.mk') 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 -- cgit v1.2.3