diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-22 15:06:52 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-22 15:06:52 +0200 |
commit | 30626f6a17fb349909e6e2e9c3323ffc96e8b1c9 (patch) | |
tree | b3742cd7074b655a56fb3974776e5b0bd4447b7f /lib/runtime_tools/test/erts_alloc_config_SUITE.erl | |
parent | b2f661092782f386047b03db0eb649f1ca9a3088 (diff) | |
download | otp-30626f6a17fb349909e6e2e9c3323ffc96e8b1c9.tar.gz otp-30626f6a17fb349909e6e2e9c3323ffc96e8b1c9.tar.bz2 otp-30626f6a17fb349909e6e2e9c3323ffc96e8b1c9.zip |
Eliminate use of ?config() macro
Diffstat (limited to 'lib/runtime_tools/test/erts_alloc_config_SUITE.erl')
-rw-r--r-- | lib/runtime_tools/test/erts_alloc_config_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/runtime_tools/test/erts_alloc_config_SUITE.erl b/lib/runtime_tools/test/erts_alloc_config_SUITE.erl index 100e2fc563..3ef88fc300 100644 --- a/lib/runtime_tools/test/erts_alloc_config_SUITE.erl +++ b/lib/runtime_tools/test/erts_alloc_config_SUITE.erl @@ -45,7 +45,7 @@ init_per_testcase(Case, Config) when is_list(Config) -> {erl_flags_env, save_env()} | Config]. end_per_testcase(_Case, Config) when is_list(Config) -> - restore_env(?config(erl_flags_env, Config)), + restore_env(proplists:get_value(erl_flags_env, Config)), ok. %%% @@ -151,7 +151,7 @@ display_file(FileName) -> mk_name(Config) when is_list(Config) -> {A, B, C} = now(), list_to_atom(atom_to_list(?MODULE) - ++ "-" ++ atom_to_list(?config(testcase, Config)) + ++ "-" ++ atom_to_list(proplists:get_value(testcase, Config)) ++ "-" ++ integer_to_list(A) ++ "-" ++ integer_to_list(B) ++ "-" ++ integer_to_list(C)). @@ -169,8 +169,8 @@ stop_node(Node) -> true = ?t:stop_node(Node). privfile(Name, Config) -> - filename:join([?config(priv_dir, Config), - atom_to_list(?config(testcase, Config)) ++ "." ++ Name]). + filename:join([proplists:get_value(priv_dir, Config), + atom_to_list(proplists:get_value(testcase, Config)) ++ "." ++ Name]). save_env() -> {erl_flags, |