From 2bc83c3abf7a59da99f7f713927ec36abb994093 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 12 Dec 2006 21:45:33 +0100 Subject: [PATCH] The asio.test should be performed only in threaded mode. --- lib/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)) -- 2.39.2