[Lldb-commits] [lldb] r220820 - Added the ability to add attributes to inline

Ed Maste emaste at freebsd.org
Tue Oct 28 17:34:00 PDT 2014


On 28 October 2014 18:04, Zachary Turner <zturner at google.com> wrote:
> They'd still of course not be possible to run on Windows, so overall it
> looks like this attribute will continue to be needed into the future.

Right, and it will be needed on FreeBSD too in most cases. What I mean
is that an attribute or decorator that says in effect "this test needs
a Cocoa runtime" can do the right thing in all cases - it would never
run on Windows, always on OS X, and on FreeBSD and Linux run only if
the appropriate package is installed. We'd do the same with a GNU
stdlibc++ test attribute - on FreeBSD stdlibc++ is not available by
default, but is commonly installed. This new logic could then replace
most of the skipIfFreeBSD / skipIfLinux decorators that are scattered
around on individual tests.



More information about the lldb-commits mailing list