Updates to fix dialyzer failing on otp 26+
This commit is contained in:
parent
06347e7f31
commit
70bab7df95
3 changed files with 9 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@ ebin/
|
||||||
.eunit/
|
.eunit/
|
||||||
.idea/
|
.idea/
|
||||||
_build
|
_build
|
||||||
|
doc/
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -15,11 +15,12 @@ compile: rebar3
|
||||||
update: rebar3
|
update: rebar3
|
||||||
$(REBAR) update
|
$(REBAR) update
|
||||||
|
|
||||||
test: compile
|
test:
|
||||||
$(REBAR) eunit
|
EUNIT=1 $(REBAR) compile
|
||||||
|
EUNIT=1 $(REBAR) eunit
|
||||||
|
|
||||||
dialyzer: compile
|
dialyzer: compile
|
||||||
$(REBAR) dialyzer
|
DIALYZER=1 $(REBAR) dialyzer
|
||||||
|
|
||||||
travis: test dialyzer
|
travis: test dialyzer
|
||||||
|
|
||||||
|
|
|
@ -1206,6 +1206,8 @@ flooring(N) when N < 0 ->
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TESTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TESTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
-ifdef(EUNIT).
|
||||||
|
|
||||||
-include_lib("eunit/include/eunit.hrl").
|
-include_lib("eunit/include/eunit.hrl").
|
||||||
|
|
||||||
%% emulates as if a forum-type website has a Site tz, and a user-specified tz
|
%% emulates as if a forum-type website has a Site tz, and a user-specified tz
|
||||||
|
@ -1529,3 +1531,5 @@ microsoft_parser(_) ->
|
||||||
|
|
||||||
stop_test(_) ->
|
stop_test(_) ->
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
|
-endif.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue