aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testRfcs.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-21 14:06:24 +0100
committerBjörn Gustavsson <[email protected]>2016-03-21 14:06:24 +0100
commite369312640200396b277e2e63378f86ff965d166 (patch)
tree30d39ffb0d5b5955cf8f6598750503b47da240b5 /lib/asn1/test/testRfcs.erl
parent4695e77f9884ea92633ec0b3e3fcc3c19d357630 (diff)
parentcb67cfb5320a7f8e37bc9269afcafe62bb6c1d1a (diff)
downloadotp-e369312640200396b277e2e63378f86ff965d166.tar.gz
otp-e369312640200396b277e2e63378f86ff965d166.tar.bz2
otp-e369312640200396b277e2e63378f86ff965d166.zip
Merge branch 'bjorn/asn1/modernize-tests'
* bjorn/asn1/modernize-tests: Eliminate suite and doc clauses Replace ?config() macro with proplists:get_value() Modernize timetraps Eliminate ?line macros
Diffstat (limited to 'lib/asn1/test/testRfcs.erl')
-rw-r--r--lib/asn1/test/testRfcs.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/test/testRfcs.erl b/lib/asn1/test/testRfcs.erl
index fa4389b904..e110f87edd 100644
--- a/lib/asn1/test/testRfcs.erl
+++ b/lib/asn1/test/testRfcs.erl
@@ -27,11 +27,11 @@
compile(Config, Erules, Options0) ->
Options = [no_ok_wrapper|Options0],
- DataDir = ?config(data_dir, Config),
+ DataDir = proplists:get_value(data_dir, Config),
Specs0 = filelib:wildcard("*.asn1", filename:join(DataDir, rfcs)),
Specs = [filename:join(rfcs, Spec) || Spec <- Specs0],
122 = length(Specs),
- CaseDir = ?config(case_dir, Config),
+ CaseDir = proplists:get_value(case_dir, Config),
asn1_test_lib:compile_all(Specs, Config, [Erules,{i,CaseDir}|Options]).
test() ->