From 0945713e50b75cb835fc97cbeea7abd9e224f8c6 Mon Sep 17 00:00:00 2001
From: Tristan Sloughter <t@crashfast.com>
Date: Wed, 16 Sep 2015 18:12:43 -0500
Subject: remove unneeded ifdefs and change from NOTEST to TEST define

---
 src/rlx_app_discovery.erl | 5 -----
 src/rlx_prv_release.erl   | 5 -----
 src/rlx_topo.erl          | 2 +-
 src/rlx_util.erl          | 5 -----
 4 files changed, 1 insertion(+), 16 deletions(-)

(limited to 'src')

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.
-- 
cgit v1.2.3