diff options
author | Björn Gustavsson <[email protected]> | 2017-11-16 05:27:05 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-11-30 12:46:51 +0100 |
commit | 38e4dfbd281cae0fb58211b63861b037ad121231 (patch) | |
tree | 349b504f5c08809352b06b2a2b219d544b4e1e21 /lib/compiler/test/z_SUITE.erl | |
parent | ef2e55c707a6c3d1f54f2acb9c8bfbe3fb7a8659 (diff) | |
download | otp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.gz otp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.bz2 otp-38e4dfbd281cae0fb58211b63861b037ad121231.zip |
Use the new syntax in more test suites
Diffstat (limited to 'lib/compiler/test/z_SUITE.erl')
-rw-r--r-- | lib/compiler/test/z_SUITE.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/compiler/test/z_SUITE.erl b/lib/compiler/test/z_SUITE.erl index d864184f4c..cd95d0e733 100644 --- a/lib/compiler/test/z_SUITE.erl +++ b/lib/compiler/test/z_SUITE.erl @@ -54,8 +54,7 @@ do_loaded([{M,_}|Ms], E0) -> _ = M:module_info(functions), E0 catch - C:Error -> - Stk = erlang:get_stacktrace(), + C:Error:Stk -> io:format("~p:~p\n~p\n", [C,Error,Stk]), E0 + 1 end, |