diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 12:19:05 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 12:19:05 +0200 |
commit | d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b (patch) | |
tree | 80ae777d99cb28b76374bad835568b97e71e3ef7 /lib/tools/test/xref_SUITE.erl | |
parent | c9f6f5b9c20ada3dfa1e682cf49c09e3311db248 (diff) | |
download | otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.tar.gz otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.tar.bz2 otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.zip |
Eliminate use of ?config() macro
Diffstat (limited to 'lib/tools/test/xref_SUITE.erl')
-rw-r--r-- | lib/tools/test/xref_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tools/test/xref_SUITE.erl b/lib/tools/test/xref_SUITE.erl index 295910e1a3..643ba9ad1a 100644 --- a/lib/tools/test/xref_SUITE.erl +++ b/lib/tools/test/xref_SUITE.erl @@ -32,9 +32,9 @@ -else. -include_lib("common_test/include/ct.hrl"). -define(format(S, A), ok). --define(datadir, ?config(data_dir, Conf)). --define(privdir, ?config(priv_dir, Conf)). --define(copydir, ?config(copy_dir, Conf)). +-define(datadir, proplists:get_value(data_dir, Conf)). +-define(privdir, proplists:get_value(priv_dir, Conf)). +-define(copydir, proplists:get_value(copy_dir, Conf)). -endif. -export([all/0, suite/0, groups/0, @@ -1687,7 +1687,7 @@ fun_mfa(Conf) when is_list(Conf) -> %% Same as the previous test case, except that we use a BEAM file %% that was compiled by an R14 compiler to test backward compatibility. fun_mfa_r14(Conf) when is_list(Conf) -> - Dir = ?config(data_dir, Conf), + Dir = proplists:get_value(data_dir, Conf), MFile = fname(Dir, "fun_mfa_r14"), A = fun_mfa_r14, |