diff options
author | Björn Gustavsson <[email protected]> | 2016-02-25 15:01:29 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-02-25 15:53:34 +0100 |
commit | ca93ccf62e91c55345eb1e67e6ea107ba72e5a1f (patch) | |
tree | 68d224a8aad67c1d5de588cd7584731fa4e6ecf1 /lib/compiler/test/regressions_SUITE.erl | |
parent | 5fe95cec32ddc92f6a483c24f6f591586ba065f7 (diff) | |
download | otp-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/regressions_SUITE.erl')
-rw-r--r-- | lib/compiler/test/regressions_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/regressions_SUITE.erl b/lib/compiler/test/regressions_SUITE.erl index 0131a2bdbd..0e641fcd71 100644 --- a/lib/compiler/test/regressions_SUITE.erl +++ b/lib/compiler/test/regressions_SUITE.erl @@ -70,7 +70,7 @@ run(Config, Tests) -> run_test(Conf, Test0) -> Module = "regressions_"++test_lib:uniq(), Filename = Module ++ ".erl", - DataDir = ?config(priv_dir, Conf), + DataDir = proplists:get_value(priv_dir, Conf), Test = ["-module(", Module, "). ", Test0], File = filename:join(DataDir, Filename), Def = [binary,export_all,return], |