diff options
author | Sverker Eriksson <[email protected]> | 2014-12-09 11:53:16 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-11-26 19:48:09 +0100 |
commit | 41e0c6e584d392ed0d5fbbc51a84418c4f7abcf5 (patch) | |
tree | e4bd842e5cc4a070b58fa88875be6a87dcdd4ee7 /erts/emulator/test/alloc_SUITE_data/coalesce.erl | |
parent | ef45d2c9f874354b17c2aca96de7b3306a9eb943 (diff) | |
download | otp-41e0c6e584d392ed0d5fbbc51a84418c4f7abcf5.tar.gz otp-41e0c6e584d392ed0d5fbbc51a84418c4f7abcf5.tar.bz2 otp-41e0c6e584d392ed0d5fbbc51a84418c4f7abcf5.zip |
erts: Refactor alloc_SUITE to use NIFs instead of drivers
Diffstat (limited to 'erts/emulator/test/alloc_SUITE_data/coalesce.erl')
-rw-r--r-- | erts/emulator/test/alloc_SUITE_data/coalesce.erl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/coalesce.erl b/erts/emulator/test/alloc_SUITE_data/coalesce.erl new file mode 100644 index 0000000000..453c726c4e --- /dev/null +++ b/erts/emulator/test/alloc_SUITE_data/coalesce.erl @@ -0,0 +1,10 @@ +-module(coalesce). + +-export([init/1, start/1, run/1, stop/1]). + +init(File) -> + ok = erlang:load_nif(File, 0). + +start(_) -> erlang:nif_error(not_loaded). +run(_) -> erlang:nif_error(not_loaded). +stop(_) -> erlang:nif_error(not_loaded). |