Skip to content

Commit

Permalink
Add explicit dependency on libm2 to each test that needs it.
Browse files Browse the repository at this point in the history
Without this a -j4 build reliably fails on my machine.
  • Loading branch information
duaneg committed Jun 18, 2011
1 parent f17d251 commit 09d8dd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -62,7 +62,7 @@ pristine: clean
${MAKE} -C tools/m2sh pristine

.PHONY: tests
tests: build/libm2.a tests/config.sqlite ${TESTS} test_filters filters config_modules
tests: tests/config.sqlite ${TESTS} test_filters filters config_modules
sh ./tests/runtests.sh

tests/config.sqlite: src/config/config.sql src/config/example.sql src/config/mimetypes.sql
Expand All @@ -84,13 +84,13 @@ check:
m2sh:
${MAKE} ${MAKEOPTS} -C tools/m2sh all

test_filters:
test_filters: build/libm2.a
${MAKE} ${MAKEOPTS} -C tests/filters all

filters:
filters: build/libm2.a
${MAKE} ${MAKEOPTS} -C tools/filters all

config_modules:
config_modules: build/libm2.a
${MAKE} ${MAKEOPTS} -C tools/config_modules all

install: all
Expand Down

0 comments on commit 09d8dd1

Please sign in to comment.