From 090d17e7422c5a7fd9a777d2499f19d4c80a5e6e Mon Sep 17 00:00:00 2001 From: Eric Avdey Date: Mon, 19 Nov 2018 16:10:47 -0400 Subject: Set query server env variable in Makefile for isolated eunit tests (#1747) --- Makefile | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.1