On Nov 23, 2015, at 3:13 AM, Joseph Myers <jos...@codesourcery.com> wrote: > On Sun, 22 Nov 2015, David Malcolm wrote: > >> Is there (or could there be) a precanned dg- directive to ask if ObjC is >> available? > > I don't think so. Normal practice is that each language's tests are in > appropriate directories for that language, with runtest never called with > a --tool option for that language if it wasn't built.
It is also reasonable to have a common to C/ObjC test directory if people want to do that and have them run if objc is present. We do that for some tests in the C world.