aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-03-02 09:39:33 +0100
committerSiri Hansen <[email protected]>2016-03-02 09:39:33 +0100
commitd0a4ed3dbc5e6bd92253ced1ed31720fae1e9411 (patch)
tree309a8b7d453beb691e914ee7788202a819bb5bb8 /lib/common_test
parente1489c448b7486cdcfec6a89fea238d88e6ce2f3 (diff)
parent51349126632b3ce589f217abe5dcfb7b1e47faa1 (diff)
downloadotp-d0a4ed3dbc5e6bd92253ced1ed31720fae1e9411.tar.gz
otp-d0a4ed3dbc5e6bd92253ced1ed31720fae1e9411.tar.bz2
otp-d0a4ed3dbc5e6bd92253ced1ed31720fae1e9411.zip
Merge branch 'siri/crashdump-dir/OTP-13388' into maint
* siri/crashdump-dir/OTP-13388: Set dir for slave node's erl_crash.dump
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/ct_framework.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl
index f792269c41..8fb7a03bb0 100644
--- a/lib/common_test/src/ct_framework.erl
+++ b/lib/common_test/src/ct_framework.erl
@@ -28,7 +28,7 @@
-export([init_tc/3, end_tc/3, end_tc/4, get_suite/2, get_all_cases/1]).
-export([report/2, warn/1, error_notification/4]).
--export([get_logopts/0, format_comment/1, get_html_wrapper/4]).
+-export([get_log_dir/0, get_logopts/0, format_comment/1, get_html_wrapper/4]).
-export([error_in_suite/1, init_per_suite/1, end_per_suite/1,
init_per_group/2, end_per_group/2]).
@@ -1480,3 +1480,8 @@ get_html_wrapper(TestName, PrintLabel, Cwd, TableCols) ->
get_html_wrapper(TestName, PrintLabel, Cwd, TableCols, Encoding) ->
ct_logs:get_ts_html_wrapper(TestName, PrintLabel, Cwd, TableCols, Encoding).
+
+%%%-----------------------------------------------------------------
+%%% @spec get_log_dir() -> {ok,LogDir}
+get_log_dir() ->
+ ct_logs:get_log_dir(true).