[eigen] introducing failtest |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] introducing failtest
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 5 Feb 2011 19:04:55 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=5amT8GuqsIzukXjdUrYoK1JlFlspyc7ja1KaEDezlqQ=; b=dr3i9FfG9I757uDMnNYaXb3WfOYyS0FLJFk0XleTQ6a/pwn7IIw/XW697ejaqdu7rP SfVTSAMnOC9gHT31Res4w+9V0NehtnVI/L4/R68GGyfQmdyt+k+69cLw+dUa9mmZaF1i VsqDwdN1oEcLHfvrWWeWEWNbZs2vCyv32Ezbs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qHhKjZJEPZxupg3PGiJGhhR6reo5uod6sWwXiv0rLVrW18ARxNlHuCaiFDmDU5/FRn e0Z1EAwf1HB186hqKkPa4I5b5pz2ELuQG3HJ6krcWHHob0QQ9UgIgwqjtkDv3Gw9+ZVM 9cs1Rg7y4s+tblXcBH4eEQ4J8RStclg7ewOn0=
Hi,
I've just checked in a new test suite, to check stuff that should fail
to build. It's called 'failtest'. It's implemented directly in CMake.
It's disabled by default. To run it, do:
cmake -DEIGEN_FAILTEST=ON
Each failtest is built twice, once with -DEIGEN_SHOULD_FAIL_TO_BUILD
and once without.
This may not seem related to the upcoming beta3 release at first
glance, so let me explain why i've been working on this. MSVC fixes in
bug 156 seem to require to change stuff that was introduced in
relation to bug 54, const correctness. These new tests should ensure
that we don't introduce regressions there.
Benoit