diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-03-09 16:52:21 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-03-11 15:43:11 +0100 |
commit | 5611e47606d8d691331f2eb4b7ed87bdd8ba9270 (patch) | |
tree | 15054528f3b49b5125485b16c6797267e63507e1 /erts/emulator/test/ignore_cores.erl | |
parent | 88ca325fa9fcc0b8953b389b96d1ed4666553ab6 (diff) | |
download | otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.tar.gz otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.tar.bz2 otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.zip |
Eliminate use of ?config() macro
Diffstat (limited to 'erts/emulator/test/ignore_cores.erl')
-rw-r--r-- | erts/emulator/test/ignore_cores.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/test/ignore_cores.erl b/erts/emulator/test/ignore_cores.erl index e40b91392c..4af5efe834 100644 --- a/erts/emulator/test/ignore_cores.erl +++ b/erts/emulator/test/ignore_cores.erl @@ -53,7 +53,7 @@ init(Config) -> fini(Config) -> #ignore_cores{org_cwd = OrgCWD, org_path = OrgPath, - org_pwd_env = OrgPWD} = ?config(ignore_cores, Config), + org_pwd_env = OrgPWD} = proplists:get_value(ignore_cores, Config), ok = file:set_cwd(OrgCWD), true = code:set_path(OrgPath), case OrgPWD of @@ -70,10 +70,10 @@ setup(Suite, Testcase, Config, SetCwd) when is_atom(Suite), is_list(Config) -> #ignore_cores{org_cwd = OrgCWD, org_path = OrgPath, - org_pwd_env = OrgPWD} = ?config(ignore_cores, Config), + org_pwd_env = OrgPWD} = proplists:get_value(ignore_cores, Config), Path = lists:map(fun (".") -> OrgCWD; (Dir) -> Dir end, OrgPath), true = code:set_path(Path), - PrivDir = ?config(priv_dir, Config), + PrivDir = proplists:get_value(priv_dir, Config), IgnDir = filename:join([PrivDir, atom_to_list(Suite) ++ "_" @@ -119,7 +119,7 @@ restore(Config) -> org_path = OrgPath, org_pwd_env = OrgPWD, ign_dir = IgnDir, - cores_dir = CoresDir} = ?config(ignore_cores, Config), + cores_dir = CoresDir} = proplists:get_value(ignore_cores, Config), try case CoresDir of false -> @@ -155,5 +155,5 @@ restore(Config) -> dir(Config) -> - #ignore_cores{ign_dir = Dir} = ?config(ignore_cores, Config), + #ignore_cores{ign_dir = Dir} = proplists:get_value(ignore_cores, Config), Dir. |