From ca9a17fcae26a93bbdcefc466b482b88a23215d5 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sun, 13 Jul 2008 13:13:27 +0200 Subject: [PATCH] Libucw: Test for redblack.h Use existing test. --- lib/Makefile | 4 +++- lib/redblack-test.t | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 lib/redblack-test.t 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 -- 2.39.2