From: Michal Vaner Date: Sun, 13 Jul 2008 11:13:27 +0000 (+0200) Subject: Libucw: Test for redblack.h X-Git-Tag: holmes-import~401 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ca9a17fcae26a93bbdcefc466b482b88a23215d5;p=libucw.git Libucw: Test for redblack.h Use existing test. --- diff --git a/lib/Makefile b/lib/Makefile index 7423979a..b6b333db 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -97,7 +97,8 @@ $(o)/lib/trie-test: $(o)/lib/trie-test.o $(LIBUCW) TESTS+=$(addprefix $(o)/lib/,regex.test unicode.test hash-test.test mempool.test stkstring.test \ slists.test kmp-test.test bbuf.test getopt.test fastbuf.test ff-unicode.test eltpool.test \ - fb-socket.test trie-test.test string.test sha1.test asort-test.test binheap-test.test) + fb-socket.test trie-test.test string.test sha1.test asort-test.test binheap-test.test \ + redblack-test.test) $(o)/lib/regex.test: $(o)/lib/regex-t $(o)/lib/unicode.test: $(o)/lib/unicode-t @@ -118,6 +119,7 @@ $(o)/lib/sha1.test: $(o)/lib/sha1-t $(o)/lib/sha1-hmac-t $(o)/lib/trie-test.test: $(o)/lib/trie-test $(o)/lib/asort-test.test: $(o)/lib/asort-test $(o)/lib/binheap-test.test: $(o)/lib/binheap-test +$(o)/lib/redblack-test.test: $(o)/lib/redblack-test ifdef CONFIG_UCW_THREADS TESTS+=$(addprefix $(o)/lib/,asio.test) diff --git a/lib/redblack-test.t b/lib/redblack-test.t new file mode 100644 index 00000000..3c08bbe0 --- /dev/null +++ b/lib/redblack-test.t @@ -0,0 +1,3 @@ +# Test for the redblack module + +Run: ../obj/lib/redblack-test