aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/cprof_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-07 12:19:05 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-07 12:19:05 +0200
commitd6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b (patch)
tree80ae777d99cb28b76374bad835568b97e71e3ef7 /lib/tools/test/cprof_SUITE.erl
parentc9f6f5b9c20ada3dfa1e682cf49c09e3311db248 (diff)
downloadotp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.tar.gz
otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.tar.bz2
otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.zip
Eliminate use of ?config() macro
Diffstat (limited to 'lib/tools/test/cprof_SUITE.erl')
-rw-r--r--lib/tools/test/cprof_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tools/test/cprof_SUITE.erl b/lib/tools/test/cprof_SUITE.erl
index 404b2fe738..ef0bcf5418 100644
--- a/lib/tools/test/cprof_SUITE.erl
+++ b/lib/tools/test/cprof_SUITE.erl
@@ -181,8 +181,8 @@ basic_test() ->
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
on_load_test(Config) ->
- Priv = ?config(priv_dir, Config),
- Data = ?config(data_dir, Config),
+ Priv = proplists:get_value(priv_dir, Config),
+ Data = proplists:get_value(data_dir, Config),
File = filename:join(Data, "cprof_SUITE_test"),
Module = cprof_SUITE_test,
M = 1000,
@@ -238,8 +238,8 @@ on_load_test(Config) ->
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
modules_test(Config) ->
- Priv = ?config(priv_dir, Config),
- Data = ?config(data_dir, Config),
+ Priv = proplists:get_value(priv_dir, Config),
+ Data = proplists:get_value(data_dir, Config),
File = filename:join(Data, "cprof_SUITE_test"),
Module = cprof_SUITE_test,
{ok,Module} = c:c(File, [{outdir,Priv}]),