diff options
author | Brendan Taylor <whateley@gmail.com> | 2009-10-14 07:16:34 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2009-10-14 07:16:34 -0600 |
commit | ef7c7b2f2125a7226fcf58beb76f9891ab9908fc (patch) | |
tree | f5a692c5a16d488625c2ee087b6271eaced82337 /Makefile | |
parent | 87979aa993c4c73374999ca420c8af09fe47ca13 (diff) |
fix tests, introduce command tests
includes new tests for set, event/request, print, scroll_*,
toggle_status, sync_sh and js
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -42,9 +42,13 @@ uzbl-browser: uzbl-core PREFIX?=$(DESTDIR)/usr/local +# the 'tests' target can never be up to date +.PHONY: tests +force: + # When compiling unit tests, compile uzbl as a library first -tests: uzbl-core.o uzbl-events.o - $(CC) -DUZBL_LIBRARY -shared -Wl uzbl-core.o uzbl-events.o -o ./tests/libuzbl-core.so +tests: ${OBJ} force + $(CC) -shared -Wl ${OBJ} -o ./tests/libuzbl-core.so cd ./tests/; $(MAKE) test: uzbl-core |