
24 Dec
2005
24 Dec
'05
2:53 a.m.
"Christopher Kohlhoff" <chris@kohlhoff.com> wrote in message news:20051223091739.62019.qmail@web32605.mail.mud.yahoo.com...
How do you expect to write tests for your library that cover *all* the various methods supported in one platform?
By doing what Caleb Epstein suggested and having a different macro passed when building each set of tests.
I note that this is how Boost.Threads, for example, differentiates between the native Windows threads and pthreads variants.
It is also how Boost.Filesystem chooses between Windows and POSIX variants on platforms (Cygwin) that support both. --Beman