aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/busy_port_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-09 16:52:21 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-11 15:43:11 +0100
commit5611e47606d8d691331f2eb4b7ed87bdd8ba9270 (patch)
tree15054528f3b49b5125485b16c6797267e63507e1 /erts/emulator/test/busy_port_SUITE.erl
parent88ca325fa9fcc0b8953b389b96d1ed4666553ab6 (diff)
downloadotp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.tar.gz
otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.tar.bz2
otp-5611e47606d8d691331f2eb4b7ed87bdd8ba9270.zip
Eliminate use of ?config() macro
Diffstat (limited to 'erts/emulator/test/busy_port_SUITE.erl')
-rw-r--r--erts/emulator/test/busy_port_SUITE.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/erts/emulator/test/busy_port_SUITE.erl b/erts/emulator/test/busy_port_SUITE.erl
index 172936dd82..ee82356646 100644
--- a/erts/emulator/test/busy_port_SUITE.erl
+++ b/erts/emulator/test/busy_port_SUITE.erl
@@ -375,7 +375,7 @@ hs_test(Config, HardBusy) when is_list(Config) ->
false -> 'soft_busy_drv'
end,
?line erl_ddll:start(),
- ?line Path = ?config(data_dir, Config),
+ ?line Path = proplists:get_value(data_dir, Config),
case erl_ddll:load_driver(Path, DrvName) of
ok -> ok;
{error, Error} ->
@@ -525,7 +525,7 @@ scheduling_delay_busy(Config) ->
Validation = [{seq,10,lists:seq(1,50)}],
- port_scheduling(Scenario,Validation,?config(data_dir,Config)).
+ port_scheduling(Scenario,Validation,proplists:get_value(data_dir,Config)).
scheduling_delay_busy_nosuspend(Config) ->
@@ -544,7 +544,7 @@ scheduling_delay_busy_nosuspend(Config) ->
Validation = [{eq,10,nosuspend},{seq,20,[1,2]}],
- port_scheduling(Scenario,Validation,?config(data_dir,Config)).
+ port_scheduling(Scenario,Validation,proplists:get_value(data_dir,Config)).
scheduling_busy_link(Config) ->
@@ -567,7 +567,7 @@ scheduling_busy_link(Config) ->
Validation = [{seq,10,[1]},
{seq,20,[{'EXIT',noproc}]}],
- port_scheduling(Scenario,Validation,?config(data_dir,Config)).
+ port_scheduling(Scenario,Validation,proplists:get_value(data_dir,Config)).
process_init(DrvName,Owner) ->
process_flag(trap_exit,true),
@@ -862,7 +862,7 @@ fun_spawn(Fun, Args) ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
load_busy_driver(Config) when is_list(Config) ->
- ?line DataDir = ?config(data_dir, Config),
+ ?line DataDir = proplists:get_value(data_dir, Config),
?line erl_ddll:start(),
case erl_ddll:load_driver(DataDir, "busy_drv") of
ok -> ok;