diff options
author | Björn Gustavsson <[email protected]> | 2014-03-20 13:11:26 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-03-20 13:11:26 +0100 |
commit | a265552f764ee034ba71883bdb33a6c394224ce3 (patch) | |
tree | 49dd7373d16433dd2d9f5de9855a575869462a95 /lib/asn1/test/asn1_SUITE.erl | |
parent | b6ee065ba92fe7505674385923a2d6517f0af304 (diff) | |
parent | f4f112c673f87ac7c07928f0681c1d5433491ce7 (diff) | |
download | otp-a265552f764ee034ba71883bdb33a6c394224ce3.tar.gz otp-a265552f764ee034ba71883bdb33a6c394224ce3.tar.bz2 otp-a265552f764ee034ba71883bdb33a6c394224ce3.zip |
Merge branch 'bjorn/asn1/cleanup/OTP-11727'
* bjorn/asn1/cleanup/OTP-11727:
Clean up reporting of errors in IMPORTS
asn1ct_check: Clean up error checking for INSTANCE OF
asn1ct_check: Rewrite error checking for INTEGER and BIT STRING
asn1ct_check: Remove unreachable clauses handling {identifier,_,_}
asn1ct_check: Let asn1_error/3 throw its result
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r-- | lib/asn1/test/asn1_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl index d438300596..782217ed2d 100644 --- a/lib/asn1/test/asn1_SUITE.erl +++ b/lib/asn1/test/asn1_SUITE.erl @@ -813,10 +813,10 @@ testExport(Config) -> testImport(Config) -> test(Config, fun testImport/3). testImport(Config, Rule, Opts) -> - {error, _} = asn1ct:compile(filename:join(?config(data_dir, Config), - "ImportsFrom"), - [Rule, {outdir, ?config(priv_dir, Config)} - |Opts]). + Files = ["ImportsFrom","ImportsFrom2","ImportsFrom3"], + asn1_test_lib:compile_all(Files, Config, [Rule|Opts]), + 42 = 'ImportsFrom':i(), + ok. testMegaco(Config) -> test(Config, fun testMegaco/3). testMegaco(Config, Rule, Opts) -> |