From 2c7df621d2337437a46b0ccee6a7801bc04db8f4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 6 Dec 2006 13:15:09 +0100 Subject: Fix testsuite. --- lib/Makefile | 2 ++ tests/Makefile | 4 ++-- tests/check_nick.c | 2 +- tests/check_util.c | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 6408c5ba..b1bddb3e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -17,6 +17,8 @@ LFLAGS += -r # [SH] Phony targets all: lib.o +check: + .PHONY: all clean distclean clean: $(subdirs) diff --git a/tests/Makefile b/tests/Makefile index 206331f4..f0456063 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -8,11 +8,11 @@ all: check clean: rm -f check *.o -main_objs = account.o bitlbee.o conf.o crypting.o help.o ini.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_text.o url.o user.o util.o +main_objs = account.o bitlbee.o conf.o crypting.o help.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_xml.o storage_text.o user.o test_objs = check.o check_util.o check_nick.o -check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o +check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o @echo '*' Linking $@ @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) diff --git a/tests/check_nick.c b/tests/check_nick.c index b235d260..714c4fdc 100644 --- a/tests/check_nick.c +++ b/tests/check_nick.c @@ -5,7 +5,7 @@ #include #include "irc.h" #include "set.h" -#include "util.h" +#include "misc.h" START_TEST(test_nick_strip) { diff --git a/tests/check_util.c b/tests/check_util.c index e771238f..ee365735 100644 --- a/tests/check_util.c +++ b/tests/check_util.c @@ -5,7 +5,7 @@ #include #include "irc.h" #include "set.h" -#include "util.h" +#include "misc.h" START_TEST(test_strip_linefeed) { -- cgit v1.2.3