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/nif_SUITE_data | |
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/nif_SUITE_data')
-rw-r--r-- | erts/emulator/test/nif_SUITE_data/nif_mod.erl | 2 | ||||
-rw-r--r-- | erts/emulator/test/nif_SUITE_data/tester.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/nif_SUITE_data/nif_mod.erl b/erts/emulator/test/nif_SUITE_data/nif_mod.erl index aa3c90fe9d..e12db72bea 100644 --- a/erts/emulator/test/nif_SUITE_data/nif_mod.erl +++ b/erts/emulator/test/nif_SUITE_data/nif_mod.erl @@ -33,7 +33,7 @@ load_nif_lib(Config, Ver) -> load_nif_lib(Config, Ver, []). load_nif_lib(Config, Ver, LoadInfo) -> - ?line Path = ?config(data_dir, Config), + ?line Path = proplists:get_value(data_dir, Config), erlang:load_nif(filename:join(Path,libname(Ver)), LoadInfo). libname(no_init) -> libname(3); diff --git a/erts/emulator/test/nif_SUITE_data/tester.erl b/erts/emulator/test/nif_SUITE_data/tester.erl index 32b9ef1826..388b5cab61 100644 --- a/erts/emulator/test/nif_SUITE_data/tester.erl +++ b/erts/emulator/test/nif_SUITE_data/tester.erl @@ -6,7 +6,7 @@ load_nif_lib(Config, LibName) -> - ?line Path = ?config(data_dir, Config), + ?line Path = proplists:get_value(data_dir, Config), erlang:load_nif(filename:join(Path,LibName), []). run() -> |