diff options
author | Björn Gustavsson <[email protected]> | 2017-05-24 14:13:21 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-05-24 14:13:21 +0200 |
commit | a45850ade1239960c67f2e768f0ee202309eddaf (patch) | |
tree | e9dfc0e691736dc6576592af55e511d04f0cf9f9 /lib/compiler/test/beam_validator_SUITE.erl | |
parent | d30f8202ed291b2e52569f440fbc162b11546939 (diff) | |
parent | 7336c17119f424b6356f2ec2b670994cb462570e (diff) | |
download | otp-a45850ade1239960c67f2e768f0ee202309eddaf.tar.gz otp-a45850ade1239960c67f2e768f0ee202309eddaf.tar.bz2 otp-a45850ade1239960c67f2e768f0ee202309eddaf.zip |
Merge pull request #1477 from bjorng/bjorn/compiler/fix-native-from-core/ERL-417
Correct handling of module name in compile:forms/1,2
OTP-14408
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE.erl')
-rw-r--r-- | lib/compiler/test/beam_validator_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE.erl b/lib/compiler/test/beam_validator_SUITE.erl index ca85eef688..75bfbf68cc 100644 --- a/lib/compiler/test/beam_validator_SUITE.erl +++ b/lib/compiler/test/beam_validator_SUITE.erl @@ -446,7 +446,7 @@ do_bin_opt(Mod, Asm) -> do_bin_opt(Transform, Mod, Asm0) -> Asm = Transform(Asm0), case compile:forms(Asm, [from_asm,no_postopt,return]) of - {ok,[],Code,_Warnings} when is_binary(Code) -> + {ok,Mod,Code,_Warnings} when is_binary(Code) -> ok; {error,Errors0,_} -> %% beam_validator must return errors, not simply crash, |