]> mj.ucw.cz Git - libucw.git/commitdiff
Tests: Enable tests of bitops
authorMartin Mares <mj@ucw.cz>
Thu, 17 Oct 2013 13:48:01 +0000 (15:48 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 17 Oct 2013 13:48:01 +0000 (15:48 +0200)
... with the exception of bit-count-t, which does not exist any longer.

ucw/Makefile
ucw/bitops.t

index 9f1247fbabc01b2444fe2f2b837af44df84d45d7..1f23621634c2151e812c53b435c04d794b426448 100644 (file)
@@ -119,7 +119,7 @@ TESTS+=$(addprefix $(o)/ucw/,varint.test regex.test unicode.test hash-test.test
     fb-socket.test trie-test.test string.test sha1.test asort-test.test binheap-test.test \
     redblack-test.test fb-file.test fb-grow.test fb-pool.test fb-atomic.test \
     fb-limfd.test fb-temp.test fb-mem.test fb-buffer.test fb-mmap.test fb-multi.test url.test strtonum-test.test \
-    gary.test time.test crc.test signames.test md5.test)
+    gary.test time.test crc.test signames.test md5.test bitops.test)
 
 $(o)/ucw/varint.test: $(o)/ucw/varint-t
 $(o)/ucw/regex.test: $(o)/ucw/regex-t
@@ -127,7 +127,7 @@ $(o)/ucw/unicode.test: $(o)/ucw/unicode-t
 $(o)/ucw/hash-test.test: $(o)/ucw/hash-test
 $(o)/ucw/mempool.test: $(o)/ucw/mempool-t $(o)/ucw/mempool-fmt-t $(o)/ucw/mempool-str-t
 $(o)/ucw/stkstring.test: $(o)/ucw/stkstring-t
-$(o)/ucw/bitops.test: $(o)/ucw/bit-ffs-t $(o)/ucw/bit-fls-t $(o)/ucw/bit-count-t
+$(o)/ucw/bitops.test: $(o)/ucw/bit-ffs-t $(o)/ucw/bit-fls-t
 $(o)/ucw/slists.test: $(o)/ucw/slists-t
 $(o)/ucw/kmp-test.test: $(o)/ucw/kmp-test
 $(o)/ucw/bbuf.test: $(o)/ucw/bbuf-t
index 69fb4f0dd7c418efb95d57a422196499db1223ca..42240665c2fbd4207e5c5afd1ba3240a7c91d1c7 100644 (file)
@@ -51,13 +51,3 @@ Out: 0
        17
        9
        27
-
-Run:   ../obj/ucw/bit-count-t
-In:    11111111111111111
-       000000000000
-       0001010000
-       1001010101010000010111100011100001110010101010000111000011100000001001010101000101010
-Out:   17
-       0
-       2
-       35