Skip to content

Commit

Permalink
In the Makefile, configure should be called with the right test config
Browse files Browse the repository at this point in the history
Related to xapi-project#13
  • Loading branch information
samoht committed Jul 5, 2015
1 parent fcb6f36 commit 9d42745
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CONFIGUREFLAGS = --enable-tests
SETUP = ocaml setup.ml
CONFIGUREFLAGS ?= --disable-tests
SETUP = ocaml setup.ml

build: setup.data
$(SETUP) -build $(BUILDFLAGS)
Expand All @@ -8,6 +8,8 @@ doc: setup.data build
$(SETUP) -doc $(DOCFLAGS)

test: setup.data build
rm -f setup.data
make CONFIGUREFLAGS=--enable-tests build
$(SETUP) -test $(TESTFLAGS)

all:
Expand Down

0 comments on commit 9d42745

Please sign in to comment.