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 /erts/emulator/test/binary_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 'erts/emulator/test/binary_SUITE.erl')
-rw-r--r-- | erts/emulator/test/binary_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/binary_SUITE.erl b/erts/emulator/test/binary_SUITE.erl index c71267a6d1..4bc1838139 100644 --- a/erts/emulator/test/binary_SUITE.erl +++ b/erts/emulator/test/binary_SUITE.erl @@ -1472,13 +1472,13 @@ error_after_yield(Type, M, F, AN, AFun, TrapFunc) -> apply(M, F, A), exit({unexpected_success, {M, F, A}}) catch - error:Type -> + error:Type:Stk -> erlang:trace(self(),false,[running,{tracer,Tracer}]), %% We threw the exception from the native %% function we trapped to, but we want %% the BIF that originally was called %% to appear in the stack trace. - [{M, F, A, _} | _] = erlang:get_stacktrace() + [{M, F, A, _} | _] = Stk end end), receive |