summaryrefslogtreecommitdiff
path: root/include/test.hrl
blob: 38fb850fc66f870fca768cd03553ad8c23c2fd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-define(TMP_DIR, "../../../tmp/lib").

-define(TMP_FILE, fun(File) ->
                          filename:join(?TMP_DIR, File)
                  end).

%% priv_dir() ->
%%   Dir = filename:join([t:config(priv_dir), "data", atom_to_list(?MODULE), pid_to_list(self())]),
%%   filelib:ensure_dir(filename:join([Dir, atom_to_list(?MODULE)])),
%%   Dir.

%% priv_file(File) ->
%%   filename:join(priv_dir(), File).