Log out success message with newlines The raw log file is split into lines to check for errors. However the logged message should contain newlines for easier reading.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/2276f851 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/2276f851 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/2276f851 Branch: refs/heads/master Commit: 2276f85150d6274961fd007ce688f71591a47ada Parents: 66c175d Author: Julius Andrikonis <[email protected]> Authored: Mon Jan 29 11:15:02 2018 +0200 Committer: Julius Andrikonis <[email protected]> Committed: Mon Jan 29 11:15:38 2018 +0200 ---------------------------------------------------------------------- THANKS | 1 + src/rebar_ct.erl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/2276f851/THANKS ---------------------------------------------------------------------- diff --git a/THANKS b/THANKS index ab7935c..943ad94 100644 --- a/THANKS +++ b/THANKS @@ -150,3 +150,4 @@ John Daily Yury Gargay Frank Hunleth Matwey Kornilov +Julius Andrikonis http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/2276f851/src/rebar_ct.erl ---------------------------------------------------------------------- diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl index b27f661..c033c58 100644 --- a/src/rebar_ct.erl +++ b/src/rebar_ct.erl @@ -193,7 +193,7 @@ check_log(Config,RawLogFilename,Fun) -> ?FAIL; true -> - Fun(Msg) + Fun(string:join(Msg, "\n")) end.
