diff options
Diffstat (limited to 'include/test.hrl')
-rw-r--r-- | include/test.hrl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/test.hrl b/include/test.hrl new file mode 100644 index 00000000..38fb850f --- /dev/null +++ b/include/test.hrl @@ -0,0 +1,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). |