Now passing all tests.

This commit is contained in:
Gregory Burd 2011-08-09 12:15:08 -04:00
parent 7b1350f899
commit 1f38bf630e
3 changed files with 8 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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])).