aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-09-16 18:12:43 -0500
committerTristan Sloughter <[email protected]>2015-09-16 18:12:55 -0500
commit0945713e50b75cb835fc97cbeea7abd9e224f8c6 (patch)
tree81e49a2f36ac73609b269cc869aa277e2ac88c43
parent3dd5ab0ad5fd1f60dbab136104b82ef8558dc33a (diff)
downloadrelx-0945713e50b75cb835fc97cbeea7abd9e224f8c6.tar.gz
relx-0945713e50b75cb835fc97cbeea7abd9e224f8c6.tar.bz2
relx-0945713e50b75cb835fc97cbeea7abd9e224f8c6.zip
remove unneeded ifdefs and change from NOTEST to TEST define
-rw-r--r--src/rlx_app_discovery.erl5
-rw-r--r--src/rlx_prv_release.erl5
-rw-r--r--src/rlx_topo.erl2
-rw-r--r--src/rlx_util.erl5
4 files changed, 1 insertions, 16 deletions
diff --git a/src/rlx_app_discovery.erl b/src/rlx_app_discovery.erl
index 3d58185..3d3bdb1 100644
--- a/src/rlx_app_discovery.erl
+++ b/src/rlx_app_discovery.erl
@@ -300,8 +300,3 @@ get_deps(AppDir, AppName, AppVsn, AppDetail) ->
%%%===================================================================
%%% Test Functions
%%%===================================================================
-
--ifndef(NOTEST).
--include_lib("eunit/include/eunit.hrl").
-
--endif.
diff --git a/src/rlx_prv_release.erl b/src/rlx_prv_release.erl
index bd58434..f83cce3 100644
--- a/src/rlx_prv_release.erl
+++ b/src/rlx_prv_release.erl
@@ -221,8 +221,3 @@ get_realized_release(State, RelName, RelVsn) ->
%%%===================================================================
%%% Test Functions
%%%===================================================================
-
--ifndef(NOTEST).
--include_lib("eunit/include/eunit.hrl").
-
--endif.
diff --git a/src/rlx_topo.erl b/src/rlx_topo.erl
index d24f227..a07a4a7 100644
--- a/src/rlx_topo.erl
+++ b/src/rlx_topo.erl
@@ -169,7 +169,7 @@ remove_pairs(L1, L2) ->
%%====================================================================
%% Tests
%%====================================================================
--ifndef(NOTEST).
+-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
topo_1_test() ->
diff --git a/src/rlx_util.erl b/src/rlx_util.erl
index 2c7c129..9b86ad3 100644
--- a/src/rlx_util.erl
+++ b/src/rlx_util.erl
@@ -300,8 +300,3 @@ cp_r_win32(Source,Dest) ->
%%%===================================================================
%%% Test Functions
%%%===================================================================
-
--ifndef(NOTEST).
--include_lib("eunit/include/eunit.hrl").
-
--endif.