Blob Blame History Raw
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 1 Dec 2020 23:27:03 +0100
Subject: [PATCH] Fix for rebar2

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

diff --git a/test/rlx_dscv_util.erl b/test/rlx_dscv_util.erl
index a5599ee..943c2a4 100644
--- a/test/rlx_dscv_util.erl
+++ b/test/rlx_dscv_util.erl
@@ -22,7 +22,7 @@
 -export([do/2,
          format_error/1]).
 
--include("relx.hrl").
+-include("../src/relx.hrl").
 
 %%============================================================================
 %% Types
diff --git a/test/rlx_release_SUITE.erl b/test/rlx_release_SUITE.erl
index 19ee639..62246bb 100644
--- a/test/rlx_release_SUITE.erl
+++ b/test/rlx_release_SUITE.erl
@@ -20,6 +20,7 @@
 -module(rlx_release_SUITE).
 
 -compile([export_all]).
+-compile(nowarn_export_all).
 
 -include_lib("common_test/include/ct.hrl").
 -include_lib("stdlib/include/assert.hrl").
diff --git a/test/rlx_relup_SUITE.erl b/test/rlx_relup_SUITE.erl
index 1326c80..6287787 100644
--- a/test/rlx_relup_SUITE.erl
+++ b/test/rlx_relup_SUITE.erl
@@ -1,6 +1,7 @@
 -module(rlx_relup_SUITE).
 
 -compile([export_all]).
+-compile(nowarn_export_all).
 
 -include_lib("common_test/include/ct.hrl").
 -include_lib("eunit/include/eunit.hrl").
diff --git a/test/rlx_tar_SUITE.erl b/test/rlx_tar_SUITE.erl
index 2928945..d59ce90 100644
--- a/test/rlx_tar_SUITE.erl
+++ b/test/rlx_tar_SUITE.erl
@@ -3,6 +3,7 @@
 -module(rlx_tar_SUITE).
 
 -compile([export_all]).
+-compile(nowarn_export_all).
 
 -include_lib("common_test/include/ct.hrl").
 -include_lib("eunit/include/eunit.hrl").
diff --git a/test/rlx_test_utils.erl b/test/rlx_test_utils.erl
index a144948..a48ba5b 100644
--- a/test/rlx_test_utils.erl
+++ b/test/rlx_test_utils.erl
@@ -3,6 +3,7 @@
 -module(rlx_test_utils).
 
 -compile(export_all).
+-compile(nowarn_export_all).
 
 create_app(Dir, Name, Vsn, Deps, LibDeps) ->
     AppDir = filename:join([Dir, Name ++ "-" ++ Vsn]),