summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Avdey <eiri@eiri.ca>2018-11-19 13:53:40 -0400
committerEric Avdey <eiri@eiri.ca>2018-11-19 13:53:40 -0400
commit7c56b12a137066063240adef4707f7742ac201ec (patch)
treed4d1d700ea99b62dd131370041be4f84a1160120
parentfedea84a8982e75b80edd679b8cd75da9a15d46d (diff)
downloadcouchdb-7c56b12a137066063240adef4707f7742ac201ec.tar.gz
Set query server env variable in Makefile for isolated eunit testsproper-env-in-isolated-eunit-runner
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a59aabc2c..554694eaf 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)