aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_test_lib.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:36:28 +0100
committerHans Bolinder <[email protected]>2018-02-06 14:39:42 +0100
commit1040c3c48099e5ee6b65cb2af5e8bf446764fef3 (patch)
tree05200fe34835cc2ff05b5c4bc9bef4432664d37f /lib/mnesia/test/mnesia_test_lib.erl
parent798f2151429ef7ea05d858e5ba9efc6d5cc3e10a (diff)
downloadotp-1040c3c48099e5ee6b65cb2af5e8bf446764fef3.tar.gz
otp-1040c3c48099e5ee6b65cb2af5e8bf446764fef3.tar.bz2
otp-1040c3c48099e5ee6b65cb2af5e8bf446764fef3.zip
mnesia: Do not call erlang:get_stacktrace()
The remaining call (in module mnesia_lib) is taken care of in the following commit.
Diffstat (limited to 'lib/mnesia/test/mnesia_test_lib.erl')
-rw-r--r--lib/mnesia/test/mnesia_test_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mnesia/test/mnesia_test_lib.erl b/lib/mnesia/test/mnesia_test_lib.erl
index 78dbe7ffde..db0e7beac6 100644
--- a/lib/mnesia/test/mnesia_test_lib.erl
+++ b/lib/mnesia/test/mnesia_test_lib.erl
@@ -470,9 +470,9 @@ get_suite(Mod, {group, Suite}) ->
{_, _, TCList} = lists:keyfind(Suite, 1, Groups),
TCList
catch
- _:Reason ->
+ _:Reason:Stacktrace ->
io:format("Not implemented ~p ~p (~p ~p)~n",
- [Mod,Suite,Reason, erlang:get_stacktrace()]),
+ [Mod,Suite,Reason,Stacktrace]),
'NYI'
end;
get_suite(Mod, all) ->