From 270c7eb2d60a7c5b8994dbe2c8b0247ba3247193 Mon Sep 17 00:00:00 2001 From: Russell Brown Date: Fri, 3 Oct 2014 15:25:39 +0100 Subject: [PATCH] orswot_eqc.erl causes riak_dt tests to appear to fail If you don't have EQC installed, orswot_eqc won't compile, which looks bad. If def out that eqc stuff. --- test/orswot_eqc.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/orswot_eqc.erl b/test/orswot_eqc.erl index 831ff4b..f73a1cd 100644 --- a/test/orswot_eqc.erl +++ b/test/orswot_eqc.erl @@ -21,6 +21,7 @@ -module(orswot_eqc). +-ifdef(EQC). -include_lib("eqc/include/eqc.hrl"). -include_lib("eqc/include/eqc_statem.hrl"). -include_lib("eunit/include/eunit.hrl"). @@ -469,3 +470,5 @@ model_merge({S1, D1}, {S2, D2}) -> S = riak_dt_orset:merge(S1, S2), D = riak_dt_orset:merge(D1, D2), model_apply_deferred(S, D). + +-endif.