diff options
author | Björn Gustavsson <[email protected]> | 2016-03-18 12:34:37 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-18 12:34:37 +0100 |
commit | e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8 (patch) | |
tree | 1828706b34ae646b7eac9d7a1e49073dbc707d3f /lib/asn1/test/testRfcs.erl | |
parent | 7e13621fccd53a368b1717495382ae86239ed65b (diff) | |
download | otp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.tar.gz otp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.tar.bz2 otp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.zip |
Replace ?config() macro with proplists:get_value()
Diffstat (limited to 'lib/asn1/test/testRfcs.erl')
-rw-r--r-- | lib/asn1/test/testRfcs.erl | 4 |
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() -> |