[riot-notifications] [projects] Bloom filter test case (#17)

Christian Mehlis notifications at github.com
Sun Aug 11 17:16:49 CEST 2013


> @@ -0,0 +1,41 @@
> +####
> +#### Sample Makefile for building apps with the RIOT OS
> +####
> +#### The Sample Filesystem Layout is:
> +#### /this makefile
> +#### ../../RIOT 
> +#### ../../boards   for board definitions (if you have one or more)
> +#### 
> +
> +# name of your project
> +export PROJECT =test_bloom
> +
> +# for easy switching of boards
> +ifeq ($(strip $(BOARD)),)
> +	export BOARD = msba2

The problem you mention comes from over sized test cases, generated from the `generate_sets.py`. So for a msba2 you have to tune the `sizeOfA` and `sizeOfB` variables in the generator. Also you have to change the number of bits used by the bloom filter!

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/projects/pull/17/files#r5700312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130811/77237de5/attachment.html>


More information about the notifications mailing list