Sfoglia il codice sorgente

fix compile/3 call in common_test provider

pull/187/head
Tristan Sloughter 10 anni fa
parent
commit
0a8ee68042
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/rebar_prv_common_test.erl

+ 1
- 1
src/rebar_prv_common_test.erl Vedi File

@ -343,7 +343,7 @@ maybe_compile_extra_tests(TestApps, State, InDirs, OutDir) ->
[{src_dirs, ["test"|InDirs]}] ++
lists:keydelete(src_dirs, 1, ErlOpts),
TestState = first_files(rebar_state:set(State, erl_opts, TestOpts)),
rebar_erlc_compiler:compile(TestState, rebar_dir:get_cwd());
rebar_erlc_compiler:compile(TestState, rebar_dir:get_cwd(), rebar_dir:get_cwd());
%% already compiled `./test` so do nothing
_ -> ok
end.

Caricamento…
Annulla
Salva