On 5/6/2013 4:01 PM, Daniel James wrote:
On 6 May 2013 19:15, Edward Diener
wrote: On 5/6/2013 9:08 AM, Daniel James wrote:
The first thing to do is add it to the unit tests (by adding it to status/Jamfile.v2), and get them looking decent.
A number of unit tests for TTI depend on the compiler supporting variadic macros. I can add all the TTI unit tests to status/Jamfile.v2 easily enough but for any compiler not supporting variadic macros that subset of the tests will fail. Is that OK, or do I have to do something different for this particular case in status/Jamfile.v2 ?
You can specify tests that are expected to fail in status/explicit-failures-markup.xml, but you can do that after adding the tests. Which compilers will it fail for?
The tests which assume support for variadic macros will fail for any compiler/version which simply does not recognize the syntax. There aren't too many around but I do currently support some pretty early versions of gcc ( prior to 4+ ) which do not support variadic macros. Of course the test matrix will probably not even test these early versions. The equivalent non-variadic versions should not have any problems. I am also still working on support for Intel and Sun C++ compilers on Linux and so have not determined yet how much of TTI will work with them.