diff options
author | Björn Gustavsson <[email protected]> | 2015-02-20 10:17:32 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-02-20 10:17:32 +0100 |
commit | 5c0d4346409161838dabeae2366cb7f4ee95fbc0 (patch) | |
tree | 560929c7a567024a170ab1098e8a32e48d455b59 /lib/compiler/test/misc_SUITE.erl | |
parent | 4b5d5ad4d260d5c8b960e45aa4db445c9fd6eece (diff) | |
parent | 2d7301621039352a225d7dfa55f3228c96680171 (diff) | |
download | otp-5c0d4346409161838dabeae2366cb7f4ee95fbc0.tar.gz otp-5c0d4346409161838dabeae2366cb7f4ee95fbc0.tar.bz2 otp-5c0d4346409161838dabeae2366cb7f4ee95fbc0.zip |
Merge branch 'bjorn/compiler/beam_validator'
* bjorn/compiler/beam_validator:
beam_validator: Exit immediately on crashes
beam_validator: Remove the file/1 and files/1 functions
beam_validator: Remove support for all other unsupported instructions
beam_validator: Remove support for unsupported bit syntax instructions
Diffstat (limited to 'lib/compiler/test/misc_SUITE.erl')
-rw-r--r-- | lib/compiler/test/misc_SUITE.erl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/compiler/test/misc_SUITE.erl b/lib/compiler/test/misc_SUITE.erl index d721a86f5a..68a31f14d5 100644 --- a/lib/compiler/test/misc_SUITE.erl +++ b/lib/compiler/test/misc_SUITE.erl @@ -280,6 +280,14 @@ silly_coverage(Config) when is_list(Config) -> {label,2}|non_proper_list]}],99}, expect_error(fun() -> beam_z:module(BeamZInput, []) end), + %% beam_validator. + BeamValInput = {?MODULE,[{foo,0}],[], + [{function,foo,0,2, + [{label,1}, + {func_info,{atom,?MODULE},{atom,foo},0}, + {label,2}|non_proper_list]}],99}, + expect_error(fun() -> beam_validator:module(BeamValInput, []) end), + ok. expect_error(Fun) -> |