aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-10-16 10:11:09 +0200
committerBjörn Gustavsson <[email protected]>2015-01-12 11:40:25 +0100
commit2b7c2f721034560dae0ef3120c6dc276a906f71f (patch)
tree8c0c5a3689e47fc807d9213201106b39a8d4d366 /lib/asn1/test/asn1_SUITE.erl
parent55f6965558bed5bfbcf178d0203b7311b447b81a (diff)
downloadotp-2b7c2f721034560dae0ef3120c6dc276a906f71f.tar.gz
otp-2b7c2f721034560dae0ef3120c6dc276a906f71f.tar.bz2
otp-2b7c2f721034560dae0ef3120c6dc276a906f71f.zip
Add the rfcs test case
Add the ASN.1 specs from RFC-5911 and RFC-5912.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl14
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl
index 2eff210ee2..080e51d129 100644
--- a/lib/asn1/test/asn1_SUITE.erl
+++ b/lib/asn1/test/asn1_SUITE.erl
@@ -162,9 +162,12 @@ groups() ->
{group, [], [test_WS_ParamClass,
test_modified_x420,
testX420]},
- testTcapsystem,
- testNBAPsystem,
- testS1AP,
+ %% Don't run all these at the same time.
+ {group, [],
+ [testTcapsystem,
+ testNBAPsystem,
+ testS1AP,
+ testRfcs]},
test_compile_options,
testDoubleEllipses,
test_x691,
@@ -1007,6 +1010,11 @@ testS1AP(Config, Rule, Opts) ->
ok
end.
+testRfcs(Config) -> test(Config, fun testRfcs/3, [{ber,[der]}]).
+testRfcs(Config, Rule, Opts) ->
+ testRfcs:compile(Config, Rule, Opts),
+ testRfcs:test().
+
test_compile_options(Config) ->
ok = test_compile_options:wrong_path(Config),
ok = test_compile_options:path(Config),