tests: ensure generation of wrapper tests matching multiple conditions
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 26 Oct 2012 09:36:12 +0000 (11:36 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 26 Oct 2012 10:30:04 +0000 (12:30 +0200)
commite448fc02db3558219fb0f1a7a1183af77fa90971
tree144e8f13be8cc584e31f32627e0eacc585872403
parente3b0ad32d023b1553235f2cfe4a94e6ae4743825
tests: ensure generation of wrapper tests matching multiple conditions

* gen-testsuite-part: Our old code to generate wrapper tests had a
severe limitation, in that if a test matched two or more conditions
calling for generation of wrapper tests, still only one wrapper test
was generated, instead of the three that would have been expected --
that is, one using the setup code triggered by the first condition,
one using the setup code triggered by the second condition, and one
using both this setup code fragments.
Admittedly, this was only a theoretical limitation for the moment,
since since so far no test exists that matches two or more conditions
for wrapping.  Still, this might change in the future, and easily in
an unnoticed way, so better fix the issue now, before it might become
a real problem.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
gen-testsuite-part