diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 12:19:05 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-07 12:19:05 +0200 |
commit | d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b (patch) | |
tree | 80ae777d99cb28b76374bad835568b97e71e3ef7 /lib/tools/test/lcnt_SUITE.erl | |
parent | c9f6f5b9c20ada3dfa1e682cf49c09e3311db248 (diff) | |
download | otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.tar.gz otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.tar.bz2 otp-d6dfdeb9fd9ccf985840fa6e5e5e44f6c5fa644b.zip |
Eliminate use of ?config() macro
Diffstat (limited to 'lib/tools/test/lcnt_SUITE.erl')
-rw-r--r-- | lib/tools/test/lcnt_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tools/test/lcnt_SUITE.erl b/lib/tools/test/lcnt_SUITE.erl index 7917dedb49..bf6017e973 100644 --- a/lib/tools/test/lcnt_SUITE.erl +++ b/lib/tools/test/lcnt_SUITE.erl @@ -52,7 +52,7 @@ all() -> t_load(suite) -> []; t_load(doc) -> ["Load data from file."]; t_load(Config) when is_list(Config) -> - Path = ?config(data_dir, Config), + Path = proplists:get_value(data_dir, Config), Files = [filename:join([Path,"big_bang_40.lcnt"]), filename:join([Path,"ehb_3_3_hist.lcnt"])], ok = t_load_file(Files), @@ -68,7 +68,7 @@ t_load_file([File|Files]) -> t_conflicts(suite) -> []; t_conflicts(doc) -> ["API: conflicts"]; t_conflicts(Config) when is_list(Config) -> - Path = ?config(data_dir, Config), + Path = proplists:get_value(data_dir, Config), Files = [filename:join([Path,"big_bang_40.lcnt"]), filename:join([Path,"ehb_3_3_hist.lcnt"])], ok = t_conflicts_file(Files), @@ -102,7 +102,7 @@ test_conflicts_opts([Opt|Opts]) -> t_locations(suite) -> []; t_locations(doc) -> ["API: locations"]; t_locations(Config) when is_list(Config) -> - Path = ?config(data_dir, Config), + Path = proplists:get_value(data_dir, Config), Files = [filename:join([Path,"big_bang_40.lcnt"]), filename:join([Path,"ehb_3_3_hist.lcnt"])], ok = t_locations_file(Files), @@ -135,7 +135,7 @@ test_locations_opts([Opt|Opts]) -> t_swap_keys(suite) -> []; t_swap_keys(doc) -> ["Test interchanging port/process id with class"]; t_swap_keys(Config) when is_list(Config) -> - Path = ?config(data_dir, Config), + Path = proplists:get_value(data_dir, Config), Files = [filename:join([Path,"big_bang_40.lcnt"]), filename:join([Path,"ehb_3_3_hist.lcnt"])], ok = t_swap_keys_file(Files), |