summaryrefslogtreecommitdiff
path: root/build_posix/Make.base
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 21:53:51 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-09-02 21:53:51 +1000
commit7bd5fc20c3c9359577e08c1628c2cdb5c5ae953c (patch)
treee00689d5dd64946473500e21a0c54001a90270b7 /build_posix/Make.base
parent223a281bb64fbc1b29c99334bde47f04a2d83d81 (diff)
downloadmongo-7bd5fc20c3c9359577e08c1628c2cdb5c5ae953c.tar.gz
Don't build tests by default (in particular, test/format needs a BDB tree).
Diffstat (limited to 'build_posix/Make.base')
-rw-r--r--build_posix/Make.base6
1 files changed, 4 insertions, 2 deletions
diff --git a/build_posix/Make.base b/build_posix/Make.base
index 39b35c26e82..6ec55b6dad7 100644
--- a/build_posix/Make.base
+++ b/build_posix/Make.base
@@ -6,11 +6,13 @@ endif
if PYTHON
PYBUILD = lang/python
endif
+if BUILD_TESTS
+ TEST_SUBDIRS = test/format test/salvage test/thread
+endif
SUBDIRS = . \
bench/tcbench examples/c \
ext/compressors/nop_compress \
- test/format test/salvage test/thread \
- $(BZBUILD) $(PYBUILD)
+ $(BZBUILD) $(PYBUILD) $(TEST_SUBDIRS)
wtdir = $(prefix)/wt
wt_LTLIBRARIES = libwiredtiger.la