aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.