diff --git a/Makefile b/Makefile index a16fb23..e5bfc15 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,13 @@ all: compile compile: - @ ./rebar compile + @ $(REBAR) compile tests: - @ ./rebar eunit + @ $(REBAR) ct clean: - @ ./rebar clean + @ $(REBAR) clean + @ rm -rf ./logs + +include rebar.mk \ No newline at end of file diff --git a/c_src/configure_bdb.sh b/c_src/configure_bdb.sh index 191734f..40cb38f 100755 --- a/c_src/configure_bdb.sh +++ b/c_src/configure_bdb.sh @@ -2,7 +2,7 @@ cd $1/build_unix && \ ../dist/configure --disable-shared --enable-static --with-pic \ - --disable-hash --disable-heap --disable-queue \ + --disable-heap --disable-queue \ --disable-partition --disable-replication \ --enable-o_direct \ --prefix=$2 diff --git a/test/bdberl_SUITE.erl b/test/bdberl_SUITE.erl index afcba0d..a02dee4 100644 --- a/test/bdberl_SUITE.erl +++ b/test/bdberl_SUITE.erl @@ -76,7 +76,7 @@ all() -> dbconfig(Config) -> Cfg = [{set_data_dir, ?config(priv_dir, Config)}, {set_flags, 'DB_TXN_NOSYNC'}, - {set_log_config, 'DB_LOG_IN_MEMORY'}], + {log_set_config, 'DB_LOG_IN_MEMORY'}], list_to_binary(lists:flatten([io_lib:format("~s ~s\n", [K,V]) || {K, V} <- Cfg])).