Subject: Re: [boost] [test] compile-fail tests with precise output
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-10-14 00:32:05
Jean-Louis Leroy wrote:
> I would like to create tests that check, not only that a file will not
> compile, but that the errors contain specific strings. More precisely, I
> want to make sure that wrong code fails on a MPL assertion and not deep
> inside the template instantiations.
> Is that feasible?
I guess you can somehow execute system call from inside test application
and compare it's output to the expected one.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk