aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-11-16 05:27:05 +0100
committerBjörn Gustavsson <[email protected]>2017-11-30 12:46:51 +0100
commit38e4dfbd281cae0fb58211b63861b037ad121231 (patch)
tree349b504f5c08809352b06b2a2b219d544b4e1e21 /lib/compiler/test/beam_validator_SUITE.erl
parentef2e55c707a6c3d1f54f2acb9c8bfbe3fb7a8659 (diff)
downloadotp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.gz
otp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.bz2
otp-38e4dfbd281cae0fb58211b63861b037ad121231.zip
Use the new syntax in more test suites
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE.erl')
-rw-r--r--lib/compiler/test/beam_validator_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE.erl b/lib/compiler/test/beam_validator_SUITE.erl
index c23514b36b..685eb2a72e 100644
--- a/lib/compiler/test/beam_validator_SUITE.erl
+++ b/lib/compiler/test/beam_validator_SUITE.erl
@@ -421,9 +421,9 @@ try_bin_opt(Mod) ->
try
do_bin_opt(Mod)
catch
- Class:Error ->
+ Class:Error:Stk ->
io:format("~p: ~p ~p\n~p\n",
- [Mod,Class,Error,erlang:get_stacktrace()]),
+ [Mod,Class,Error,Stk]),
error
end.