aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/receive_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-25 15:01:29 +0100
committerBjörn Gustavsson <[email protected]>2016-02-25 15:53:34 +0100
commitca93ccf62e91c55345eb1e67e6ea107ba72e5a1f (patch)
tree68d224a8aad67c1d5de588cd7584731fa4e6ecf1 /lib/compiler/test/receive_SUITE.erl
parent5fe95cec32ddc92f6a483c24f6f591586ba065f7 (diff)
downloadotp-ca93ccf62e91c55345eb1e67e6ea107ba72e5a1f.tar.gz
otp-ca93ccf62e91c55345eb1e67e6ea107ba72e5a1f.tar.bz2
otp-ca93ccf62e91c55345eb1e67e6ea107ba72e5a1f.zip
Eliminate use of ?config() macro
?config is ugly and not recommended. Use proplists:get_value/2 instead.
Diffstat (limited to 'lib/compiler/test/receive_SUITE.erl')
-rw-r--r--lib/compiler/test/receive_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/receive_SUITE.erl b/lib/compiler/test/receive_SUITE.erl
index df5df68015..a01672f46d 100644
--- a/lib/compiler/test/receive_SUITE.erl
+++ b/lib/compiler/test/receive_SUITE.erl
@@ -187,8 +187,8 @@ ref_opt(Config) when is_list(Config) ->
end.
ref_opt_1(Config) ->
- DataDir = ?config(data_dir, Config),
- PrivDir = ?config(priv_dir, Config),
+ DataDir = proplists:get_value(data_dir, Config),
+ PrivDir = proplists:get_value(priv_dir, Config),
Sources = filelib:wildcard(filename:join([DataDir,"ref_opt","*.{erl,S}"])),
test_lib:p_run(fun(Src) ->
do_ref_opt(Src, PrivDir)