Introduce rebar3 eqc plugin

This commit is contained in:
UENISHI Kota 2015-12-09 19:05:10 +09:00
parent fce46aab56
commit 707af7db45
4 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,4 @@
{build, "make deps test"}.
{build, "./rebar3 compile eqc"}.
{test_path, "_build/test/lib/msgpack/ebin"}.
{test_path, "_build/test/lib/msgpack/test"}.
{test_path, "_build/test/lib/msgpack/eqc"}.

View File

@ -42,11 +42,6 @@ eqc_test_() ->
?_assertProp(prop_msgpack([{format, jsx}]))
]}.
-ifndef(without_map).
%% eqc_17_0_test_() ->
%% ?_assertProp(prop_msgpack([{format, map}])).
-endif.
prop_msgpack() ->
?FORALL(Obj, msgpack_object(),
begin

View File

@ -13,6 +13,10 @@
"src/msgpack_ext.erl"
]}.
{plugins, [
{rebar3_eqc, ".*", {git, "https://github.com/kellymclaughlin/rebar3-eqc-plugin.git", {tag, "0.0.8"}}}
]}.
%% {port_sources, ["c_src/*.c"]}.
%% {port_env, [
%% %% Make sure to set -fPIC when compiling leveldb

View File

@ -21,7 +21,6 @@
-import(msgpack, [pack/2, unpack/2, pack/1, unpack/1]).
-define(EQC, true).
-ifdef(EQC).
-include_lib("eqc/include/eqc.hrl").
-endif.