aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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