Saner handling if config.mk doesn't exist: use a default config.defaults.mk.
[wvstreams.git] / crap3
blobb04d6430810b59f45b9c8865970be19a59ad104d
1 $(TESTS): $(LIBUNICONF) $(LIBWVTEST) $(LIBWVDBUS)
2 $(addsuffix .o,$(TESTS)):
3 tests: $(TESTS)
5 -include $(shell find . -name '.*.d') /dev/null
7 test: runconfigure all tests qtest
9 qtest: runconfigure all wvtestmain
10         LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(WVSTREAMS_LIB)" $(WVTESTRUN) $(MAKE) runtests
12 runtests:
13         $(VALGRIND) ./wvtestmain '$(TESTNAME)'
14 ifeq ("$(TESTNAME)", "unitest")
15         cd uniconf/tests && DAEMON=0 ./unitest.sh
16         cd uniconf/tests && DAEMON=1 ./unitest.sh
17 endif
19 wvtestmain: \
20         $(call objects, $(filter-out ./Win32WvStreams/%, \
21                 $(shell find . -type d -name t))) \
22         $(LIBWVDBUS) $(LIBUNICONF) $(LIBWVSTREAMS) $(LIBWVTEST)