aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_compat.mk
diff options
context:
space:
mode:
authorNick Gates <[email protected]>2016-01-06 20:57:24 +0000
committerNick Gates <[email protected]>2016-01-06 20:57:24 +0000
commit9a90461dbcdc5406ba0936e07d13bb76ad12cb00 (patch)
treebd68c6d2dccb01e08e92f71bf7d1bcfc6519b984 /test/core_compat.mk
parent9797223d8070362ad4fe5d3c1bd9990301ab0665 (diff)
downloaderlang.mk-9a90461dbcdc5406ba0936e07d13bb76ad12cb00.tar.gz
erlang.mk-9a90461dbcdc5406ba0936e07d13bb76ad12cb00.tar.bz2
erlang.mk-9a90461dbcdc5406ba0936e07d13bb76ad12cb00.zip
Add a second comma/space to test global substitutions
Diffstat (limited to 'test/core_compat.mk')
-rw-r--r--test/core_compat.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core_compat.mk b/test/core_compat.mk
index d38d4ef..73a9da1 100644
--- a/test/core_compat.mk
+++ b/test/core_compat.mk
@@ -220,7 +220,7 @@ core-compat-rebar-pt: build clean
$t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = lager\n"}' $(APP)/Makefile
$i "Add the lager_transform parse_transform to ERLC_OPTS"
- $t echo "ERLC_OPTS += +'{parse_transform, lager_transform}'" >> $(APP)/Makefile
+ $t echo "ERLC_OPTS += +'{parse_transform, lager_transform}' +'{lager_truncation_size, 1234}'" >> $(APP)/Makefile
$i "Build the application"
$t $(MAKE) -C $(APP) $v
@@ -236,6 +236,7 @@ core-compat-rebar-pt: build clean
{ok, C} = file:consult(\"$(APP)/rebar.config\"), \
{_, Opts} = lists:keyfind(erl_opts, 1, C), \
true = lists:member({parse_transform, lager_transform}, Opts), \
+ true = lists:member({lager_truncation_size, 1234}, Opts), \
halt()"
# For the new build method, we have to simulate keeping the .app file