tests: Improved version of generator
authorJosé Bollo <jose.bollo@open.eurogiciel.org>
Fri, 14 Feb 2014 10:34:26 +0000 (11:34 +0100)
committerJosé Bollo <jose.bollo@open.eurogiciel.org>
Fri, 14 Feb 2014 14:34:30 +0000 (15:34 +0100)
commit63fed794d513187556a7015226bf4807561122b7
tree224a592b628f83a7d0c52fc9929dda95f84b5ce2
parent6de74d5ac30958eb83b550e729eb88e8c63a792a
tests: Improved version of generator

This version use a generating algorithm to ensure
the generator constraints. It has two new options:
- s=N to shuffle or sort the result
- p=N to set the percentage of modification rules

The Makefile now make optimisation and have warning detection.

The make_policies script now use the shuffle option.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
tests/Makefile
tests/generator.c
tests/make_policies.bash