diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-01-23 10:53:01 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-01-23 10:53:01 -0500 |
commit | 98ae221265887e309d1a3b4bae7b640b4201da61 (patch) | |
tree | de408740a0f8814f3118009b6338fae6e34bda73 /src/rebar_prv_common_test.erl | |
parent | bca0d1f91d56404a13d9486351aa2dd1fcf0f201 (diff) | |
parent | 0533f9dddcd72b2e810d30be441934fee55eccf7 (diff) |
Merge pull request #111 from tsloughter/test_erl_opts
don't lose erl_opts when compiling for tests
Diffstat (limited to 'src/rebar_prv_common_test.erl')
-rw-r--r-- | src/rebar_prv_common_test.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 9e17f38..5de1618 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -295,8 +295,8 @@ add_test_dir(Opts, InDirs) -> %% if no src_dirs are set we have to specify `src` or it won't %% be built case proplists:append_values(src_dirs, Opts) of - [] -> [{src_dirs, ["src", "test"|InDirs]}]; - _ -> [{src_dirs, ["test"|InDirs]}] + [] -> [{src_dirs, ["src", "test" | InDirs]} | Opts]; + _ -> [{src_dirs, ["test" | InDirs]} | Opts] end. first_files(State) -> |