aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2015-09-17 14:59:50 -0700
committerJordan Wilberding <[email protected]>2015-09-17 14:59:50 -0700
commita7272cffaa933f0676d1ef1422d66bcec783421a (patch)
tree81e49a2f36ac73609b269cc869aa277e2ac88c43 /src
parent3dd5ab0ad5fd1f60dbab136104b82ef8558dc33a (diff)
parent0945713e50b75cb835fc97cbeea7abd9e224f8c6 (diff)
downloadrelx-a7272cffaa933f0676d1ef1422d66bcec783421a.tar.gz
relx-a7272cffaa933f0676d1ef1422d66bcec783421a.tar.bz2
relx-a7272cffaa933f0676d1ef1422d66bcec783421a.zip
Merge pull request #391 from tsloughter/notest
remove unneeded ifdefs and change from NOTEST to TEST define
Diffstat (limited to 'src')
-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.