From: Martin Mares Date: Tue, 12 Dec 2006 20:45:33 +0000 (+0100) Subject: The asio.test should be performed only in threaded mode. X-Git-Tag: holmes-import~506^2~13^2~195 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2bc83c3abf7a59da99f7f713927ec36abb994093;p=libucw.git The asio.test should be performed only in threaded mode. --- diff --git a/lib/Makefile b/lib/Makefile index be93256d..d6988b33 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -89,7 +89,7 @@ $(o)/lib/lizard-test: $(o)/lib/lizard-test.o $(LIBUCW) $(o)/lib/kmp-test: $(o)/lib/kmp-test.o $(LIBUCW) $(LIBCHARSET) $(o)/lib/ipaccess-test: $(o)/lib/ipaccess-test.o $(LIBUCW) -TESTS+=$(addprefix $(o)/lib/,regex.test unicode-utf8.test hash-test.test mempool.test stkstring.test slists.test kmp-test.test bbuf.test asio.test) +TESTS+=$(addprefix $(o)/lib/,regex.test unicode-utf8.test hash-test.test mempool.test stkstring.test slists.test kmp-test.test bbuf.test) $(o)/lib/regex.test: $(o)/lib/regex-t $(o)/lib/unicode-utf8.test: $(o)/lib/unicode-utf8-t $(o)/lib/hash-test.test: $(o)/lib/hash-test @@ -99,7 +99,11 @@ $(o)/lib/bitops.test: $(o)/lib/bit-ffs-t $(o)/lib/bit-fls-t $(o)/lib/slists.test: $(o)/lib/slists-t $(o)/lib/kmp-test.test: $(o)/lib/kmp-test $(o)/lib/bbuf.test: $(o)/lib/bbuf-t + +ifdef CONFIG_UCW_THREADS +TESTS+=$(addprefix $(o)/lib/,asio.test) $(o)/lib/asio.test: $(o)/lib/asio-t +endif INCLUDES+=$(o)/lib/.include-stamp $(o)/lib/.include-stamp: $(addprefix $(s)/lib/,$(LIBUCW_INCLUDES))