aboutsummaryrefslogblamecommitdiffstats
path: root/erts/emulator/test/nif_SUITE_data/tester.erl
blob: 9df2158200d50da4b415f124f4e8412193aa7c6d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                     
-module(tester).

-include("test_server.hrl").

-export([load_nif_lib/2, run/0]).


load_nif_lib(Config, LibName) ->
    ?line Path = ?config(data_dir, Config),    
    erlang:load_nif(filename:join(Path,LibName), []).

run() ->
    exit({nif_not_loaded,?MODULE,?LINE}).