diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-03-09 16:52:21 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-03-11 15:43:11 +0100 |
commit | 5611e47606d8d691331f2eb4b7ed87bdd8ba9270 (patch) | |
tree | 15054528f3b49b5125485b16c6797267e63507e1 /erts/emulator/test/estone_SUITE.erl | |
parent | 88ca325fa9fcc0b8953b389b96d1ed4666553ab6 (diff) | |
download | otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.tar.gz otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.tar.bz2 otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.zip |
Eliminate use of ?config() macro
Diffstat (limited to 'erts/emulator/test/estone_SUITE.erl')
-rw-r--r-- | erts/emulator/test/estone_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/estone_SUITE.erl b/erts/emulator/test/estone_SUITE.erl index 2d53cb1cd1..33728c3f5a 100644 --- a/erts/emulator/test/estone_SUITE.erl +++ b/erts/emulator/test/estone_SUITE.erl @@ -78,7 +78,7 @@ estone(suite) -> estone(doc) -> ["EStone Test"]; estone(Config) when is_list(Config) -> - ?line DataDir = ?config(data_dir,Config), + ?line DataDir = proplists:get_value(data_dir,Config), ?line Mhz=get_cpu_speed(os:type(),DataDir), ?line L = ?MODULE:macro(?MODULE:micros(),DataDir), ?line {Total, Stones} = sum_micros(L, 0, 0), @@ -87,7 +87,7 @@ estone(Config) when is_list(Config) -> integer_to_list(Stones) ++ " ESTONES"}. estone_bench(Config) -> - DataDir = ?config(data_dir,Config), + DataDir = proplists:get_value(data_dir,Config), L = ?MODULE:macro(?MODULE:micros(),DataDir), [ct_event:notify( #event{name = benchmark_data, |