aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/error_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-18 12:34:37 +0100
committerBjörn Gustavsson <[email protected]>2016-03-18 12:34:37 +0100
commite3b85cb860927091d43e3c4d83c9dd9eb2ad51f8 (patch)
tree1828706b34ae646b7eac9d7a1e49073dbc707d3f /lib/asn1/test/error_SUITE.erl
parent7e13621fccd53a368b1717495382ae86239ed65b (diff)
downloadotp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.tar.gz
otp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.tar.bz2
otp-e3b85cb860927091d43e3c4d83c9dd9eb2ad51f8.zip
Replace ?config() macro with proplists:get_value()
Diffstat (limited to 'lib/asn1/test/error_SUITE.erl')
-rw-r--r--lib/asn1/test/error_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/test/error_SUITE.erl b/lib/asn1/test/error_SUITE.erl
index caae845592..a8c6b894f1 100644
--- a/lib/asn1/test/error_SUITE.erl
+++ b/lib/asn1/test/error_SUITE.erl
@@ -929,8 +929,8 @@ values(Config) ->
run({Mod,Spec}, Config) ->
Base = atom_to_list(Mod) ++ ".asn1",
- File = filename:join(?config(priv_dir, Config), Base),
- Include0 = filename:dirname(?config(data_dir, Config)),
+ File = filename:join(proplists:get_value(priv_dir, Config), Base),
+ Include0 = filename:dirname(proplists:get_value(data_dir, Config)),
Include = filename:join(filename:dirname(Include0), "asn1_SUITE_data"),
ok = file:write_file(File, Spec),
asn1ct:compile(File, [{i, Include}]).