mirror of
https://github.com/valitydev/cg_mon.git
synced 2024-11-06 00:45:20 +00:00
21 lines
307 B
Erlang
21 lines
307 B
Erlang
|
-ifdef(TEST).
|
||
|
|
||
|
-ifndef(TEST_UTILS_HRL).
|
||
|
-define(TEST_UTILS_HRL, ok).
|
||
|
|
||
|
-include_lib("eunit/include/eunit.hrl").
|
||
|
|
||
|
|
||
|
-define(
|
||
|
TEST_DATA_DIR(),
|
||
|
filename:join( code:lib_dir(cgmon), "eunit_test_data" )
|
||
|
).
|
||
|
|
||
|
-define(
|
||
|
TEST_FILE(FileName),
|
||
|
filename:join(?TEST_DATA_DIR(), FileName)
|
||
|
).
|
||
|
|
||
|
-endif.
|
||
|
-endif.
|