Skip to content

Commit

Permalink
Add Etap dir to "make check" target.
Browse files Browse the repository at this point in the history
In order to make tests work, Etap needs to be found.

Change-Id: I63d0b0ae77fb335ebff17706dac0c0ea4066ce71
Reviewed-on: http://review.couchbase.org/8328
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
  • Loading branch information
Volker Mische authored and vmx committed Nov 21, 2011
1 parent 7fd793c commit 63c5636
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ERL = erl -boot start_clean
VERSION=$(shell git describe)

all: builddir compile

Expand All @@ -14,7 +15,7 @@ builddir:
buildandtest: all test

runtests:
ERL_FLAGS="-pa ${COUCH_SRC}" prove ./test/*.t
ERL_FLAGS="-pa ${COUCH_SRC} -pa ${COUCH_SRC}/../etap -pa ${COUCH_SRC}/../snappy" prove ./test/*.t

check: clean builddir compileforcheck runtests
rm -rf build
Expand All @@ -32,3 +33,9 @@ cover: compile
clean:
rm -rf build
rm -f test/*.beam
rm -f *.tar.gz

geocouch-$(VERSION).tar.gz:
git archive --prefix=geocouch-$(VERSION)/ --format tar HEAD | gzip -9vc > $@

dist: geocouch-$(VERSION).tar.gz

0 comments on commit 63c5636

Please sign in to comment.