aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-02-24 13:29:14 +0100
committerBjörn Gustavsson <[email protected]>2014-02-24 13:29:14 +0100
commit15c4e79462cd890c2782fc14c9ac9b8cf99ee46f (patch)
tree6b1fd816eb24545b13a1f11ac23e665b36d490fc /lib
parent59c3f29702baaade9f8dbba5daec35b4b88df2a0 (diff)
parentdb3265f99ba5fb44195f60249e97bf673009e410 (diff)
downloadotp-15c4e79462cd890c2782fc14c9ac9b8cf99ee46f.tar.gz
otp-15c4e79462cd890c2782fc14c9ac9b8cf99ee46f.tar.bz2
otp-15c4e79462cd890c2782fc14c9ac9b8cf99ee46f.zip
Merge branch 'bjorn/asn1/deprecations/OTP-11731'
* bjorn/asn1/deprecations/OTP-11731: Eliminate warnings for deprecated funtions in test suites
Diffstat (limited to 'lib')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl2
-rw-r--r--lib/asn1/test/testPrimStrings.erl2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 3b34feb5a3..d438300596 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -860,7 +860,7 @@ duplicate_tags(Config) ->
rtUI(Config) -> test(Config, fun rtUI/3).
rtUI(Config, Rule, Opts) ->
asn1_test_lib:compile("Prim", Config, [Rule|Opts]),
- {ok, _} = asn1rt:info('Prim'),
+ _ = 'Prim':info(),
Rule = 'Prim':encoding_rule(),
io:format("Default BIT STRING format: ~p\n",
['Prim':bit_string_format()]).
diff --git a/lib/asn1/test/testPrimStrings.erl b/lib/asn1/test/testPrimStrings.erl
index 3262d61a4d..155d6f6ff5 100644
--- a/lib/asn1/test/testPrimStrings.erl
+++ b/lib/asn1/test/testPrimStrings.erl
@@ -18,6 +18,8 @@
%%
%%
-module(testPrimStrings).
+-compile([{nowarn_deprecated_function,{asn1rt,utf8_list_to_binary,1}},
+ {nowarn_deprecated_function,{asn1rt,utf8_binary_to_list,1}}]).
-export([bit_string/2]).
-export([octet_string/1]).