diff options
author | Björn Gustavsson <[email protected]> | 2014-02-25 15:16:34 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-02-28 11:57:05 +0100 |
commit | f4f112c673f87ac7c07928f0681c1d5433491ce7 (patch) | |
tree | 17aeb3e47f61dc0ca3fcff5b86877151f0587e86 /lib/asn1/test/asn1_SUITE.erl | |
parent | e45fb925416ae43a3956366bf015aa74b77b7cfe (diff) | |
download | otp-f4f112c673f87ac7c07928f0681c1d5433491ce7.tar.gz otp-f4f112c673f87ac7c07928f0681c1d5433491ce7.tar.bz2 otp-f4f112c673f87ac7c07928f0681c1d5433491ce7.zip |
Clean up reporting of errors in IMPORTS
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) -> |