diff --git a/Makefile b/Makefile index a59aabc2c37..554694eaf5f 100644 --- a/Makefile +++ b/Makefile @@ -148,6 +148,7 @@ check: all # target: eunit - Run EUnit tests, use EUNIT_OPTS to provide custom options eunit: export BUILDDIR = $(shell pwd) eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config +eunit: export COUCHDB_QUERY_SERVER_JAVASCRIPT = $(shell pwd)/bin/couchjs $(shell pwd)/share/server/main.js eunit: couch @$(REBAR) setup_eunit 2> /dev/null @$(REBAR) -r eunit $(EUNIT_OPTS)