aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testTCAP.erl
diff options
context:
space:
mode:
authorAdam Lindberg <[email protected]>2012-02-16 15:51:37 +0100
committerAdam Lindberg <[email protected]>2012-02-29 14:42:22 +0100
commit9ec0a0babace0932d78accf7c10b237a32dc801c (patch)
tree2d4a8e515a13497611631b0ed6cd787341ace27b /lib/asn1/test/testTCAP.erl
parent79d2f2878c950584e56258a3c34724d42a91c631 (diff)
downloadotp-9ec0a0babace0932d78accf7c10b237a32dc801c.tar.gz
otp-9ec0a0babace0932d78accf7c10b237a32dc801c.tar.bz2
otp-9ec0a0babace0932d78accf7c10b237a32dc801c.zip
[asn1] Refactor test cases and remove extra suites
Diffstat (limited to 'lib/asn1/test/testTCAP.erl')
-rw-r--r--lib/asn1/test/testTCAP.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/asn1/test/testTCAP.erl b/lib/asn1/test/testTCAP.erl
index f4e80ecd3b..878ce7c070 100644
--- a/lib/asn1/test/testTCAP.erl
+++ b/lib/asn1/test/testTCAP.erl
@@ -29,12 +29,13 @@ compile(Config, Options) ->
"TCAPMessages-simple",
"TCAPPackage"],
asn1_test_lib:compile_all(Files, Config, Options),
- DataDir = ?config(data_dir,Config),
- CaseDir = ?config(case_dir,Config),
- compile:file(filename:join([DataDir,"TCAPPackage_msg"]),[{i,CaseDir},{outdir,CaseDir}]).
+ asn1_test_lib:compile_erlang("TCAPPackage_msg", Config, []).
compile_asn1config(Config, Options) ->
- asn1_test_lib:compile("TCAPPackage", Config, Options).
+ Files = ["Remote-Operations-Information-Objects",
+ "TCAPPackage"],
+ asn1_test_lib:compile_all(Files, Config, Options),
+ asn1_test_lib:compile_erlang("TCAPPackage_msg", Config, []).
test(Erule,_Config) when Erule==ber;Erule==ber_bin;Erule==ber_bin_v2 ->
% ?line OutDir = ?config(priv_dir,Config),