Disable triq and proper depends

This commit is contained in:
Joseph Wayne Norton 2012-09-18 17:42:27 +09:00
parent f34f2c5ec2
commit d143637f98
5 changed files with 15 additions and 2 deletions

View file

@ -31,6 +31,6 @@
% , {lz4, ".*", {git, "git://github.com/gburd/erlang-lz4.git", {branch, "master"}}} % , {lz4, ".*", {git, "git://github.com/gburd/erlang-lz4.git", {branch, "master"}}}
% , {edown, "0.3.*", {git, "git://github.com/esl/edown.git", {branch, "master"}}} % , {edown, "0.3.*", {git, "git://github.com/esl/edown.git", {branch, "master"}}}
% , {asciiedoc, "0.1.*", {git, "git://github.com/norton/asciiedoc.git", {branch, "master"}}} % , {asciiedoc, "0.1.*", {git, "git://github.com/norton/asciiedoc.git", {branch, "master"}}}
, {triq, ".*", {git, "git://github.com/krestenkrab/triq.git", {branch, "master"}}} % , {triq, ".*", {git, "git://github.com/krestenkrab/triq.git", {branch, "master"}}}
, {proper, ".*", {git, "git://github.com/manopapad/proper.git", {branch, "master"}}} % , {proper, ".*", {git, "git://github.com/manopapad/proper.git", {branch, "master"}}}
]}. ]}.

View file

@ -25,6 +25,8 @@
%% @doc Drive a set of LSM BTrees %% @doc Drive a set of LSM BTrees
-module(hanoidb_drv). -module(hanoidb_drv).
-ifdef(QC_PROPER).
-behaviour(gen_server). -behaviour(gen_server).
%% API %% API
@ -141,3 +143,4 @@ terminate(_Reason, _State) ->
code_change(_OldVsn, State, _Extra) -> code_change(_OldVsn, State, _Extra) ->
{ok, State}. {ok, State}.
-endif. %% -ifdef(QC_PROPER).

View file

@ -24,6 +24,8 @@
-module(hanoidb_merger_tests). -module(hanoidb_merger_tests).
-ifdef(QC_PROPER).
-ifdef(TEST). -ifdef(TEST).
-include_lib("proper/include/proper.hrl"). -include_lib("proper/include/proper.hrl").
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").
@ -62,3 +64,4 @@ merge_test() ->
ok. ok.
-endif. %% -ifdef(QC_PROPER).

View file

@ -24,6 +24,8 @@
-module(hanoidb_tests). -module(hanoidb_tests).
-ifdef(QC_PROPER).
-include("include/hanoidb.hrl"). -include("include/hanoidb.hrl").
-include("src/hanoidb.hrl"). -include("src/hanoidb.hrl").
@ -425,3 +427,5 @@ dict_range_query(Dict, Fun, Acc0, Range) ->
dict_range_query(Dict, Range) -> dict_range_query(Dict, Range) ->
[{K, V} || {K, V} <- dict:to_list(Dict), [{K, V} || {K, V} <- dict:to_list(Dict),
?KEY_IN_RANGE(K, Range)]. ?KEY_IN_RANGE(K, Range)].
-endif. %% -ifdef(QC_PROPER).

View file

@ -24,6 +24,8 @@
-module(hanoidb_writer_tests). -module(hanoidb_writer_tests).
-ifdef(QC_PROPER).
-ifdef(TEST). -ifdef(TEST).
-ifdef(TEST). -ifdef(TEST).
-ifdef(TRIQ). -ifdef(TRIQ).
@ -116,3 +118,4 @@ simple1_test() ->
ok = hanoidb_reader:close(IN). ok = hanoidb_reader:close(IN).
-endif. %% -ifdef(QC_PROPER).