aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test/erl_eterm_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-21 18:14:14 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-21 19:34:27 +0100
commit39e4bd0487bc37d2a9c570d796b4dc47a56fdea7 (patch)
tree2762ee29498d1faca2afd4e3e9ce8241415e8f7c /lib/erl_interface/test/erl_eterm_SUITE.erl
parentddda2ac2b524c7bf4ae6a357faac4f73c20ebca9 (diff)
downloadotp-39e4bd0487bc37d2a9c570d796b4dc47a56fdea7.tar.gz
otp-39e4bd0487bc37d2a9c570d796b4dc47a56fdea7.tar.bz2
otp-39e4bd0487bc37d2a9c570d796b4dc47a56fdea7.zip
Replace ?config() macro with proplists:get_value()
Diffstat (limited to 'lib/erl_interface/test/erl_eterm_SUITE.erl')
-rw-r--r--lib/erl_interface/test/erl_eterm_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/erl_interface/test/erl_eterm_SUITE.erl b/lib/erl_interface/test/erl_eterm_SUITE.erl
index 666c2e12bf..8595afd224 100644
--- a/lib/erl_interface/test/erl_eterm_SUITE.erl
+++ b/lib/erl_interface/test/erl_eterm_SUITE.erl
@@ -162,9 +162,9 @@ round_trip_conversion(Config) when is_list(Config) ->
decode_terms(suite) -> [];
decode_terms(Config) when is_list(Config) ->
- Dummy1 = list_to_atom(filename:join(?config(priv_dir, Config),
+ Dummy1 = list_to_atom(filename:join(proplists:get_value(priv_dir, Config),
dummy_file1)),
- Dummy2 = list_to_atom(filename:join(?config(priv_dir, Config),
+ Dummy2 = list_to_atom(filename:join(proplists:get_value(priv_dir, Config),
dummy_file2)),
Port1 = open_port(Dummy1, [out]),
Port2 = open_port(Dummy2, [out]),
@@ -1023,7 +1023,7 @@ call_erl_function(Port, Term) ->
end.
print_term(Config) when is_list(Config) ->
- filename:join(?config(data_dir, Config), "print_term").
+ filename:join(proplists:get_value(data_dir, Config), "print_term").
@@ -1035,7 +1035,7 @@ print_term(Config) when is_list(Config) ->
cnode_1(suite) -> [];
cnode_1(doc) -> "Tests involving cnode: sends a long ref from a cnode to us";
cnode_1(Config) when is_list(Config) ->
- Cnode = filename:join(?config(data_dir, Config), "cnode"),
+ Cnode = filename:join(proplists:get_value(data_dir, Config), "cnode"),
register(mip, self()),
spawn_link(?MODULE, start_cnode, [Cnode]),
Ref1 = get_ref(),