diff options
author | Richard Carlsson <[email protected]> | 2015-04-16 14:30:55 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-05-07 14:40:32 +0200 |
commit | fc1029c74093fde14241ca664c9341fcc8be5fd3 (patch) | |
tree | 7cd45bce86771c145f0191cb5430b08021d34cd7 /lib/test_server/src | |
parent | 39ce03094edb3bc53ad671636355be53564a222d (diff) | |
download | otp-fc1029c74093fde14241ca664c9341fcc8be5fd3.tar.gz otp-fc1029c74093fde14241ca664c9341fcc8be5fd3.tar.bz2 otp-fc1029c74093fde14241ca664c9341fcc8be5fd3.zip |
Add module_info entry for native code
Diffstat (limited to 'lib/test_server/src')
-rw-r--r-- | lib/test_server/src/test_server.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/test_server/src/test_server.erl b/lib/test_server/src/test_server.erl index 7cb9c4bb5a..785e687b92 100644 --- a/lib/test_server/src/test_server.erl +++ b/lib/test_server/src/test_server.erl @@ -2491,11 +2491,7 @@ appup_test(App) -> %% Checks wether the module is natively compiled or not. is_native(Mod) -> - case catch Mod:module_info(native_addresses) of - [_|_] -> true; - _Other -> false - end. - + (catch Mod:module_info(native)) =:= true. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% comment(String) -> ok |