On Thu, Aug 17, 2006 at 12:26:12PM -0700, Mike Stump wrote: > On Aug 17, 2006, at 11:57 AM, Joe Buck wrote: > >Can the test framework distinguish based on the OS release? > > Yes. It's a fundamental feature: > > set host_triplet powerpc-apple-darwin9.0.0d1 > set build_triplet powerpc-apple-darwin9.0.0d1 > set target_triplet powerpc-apple-darwin9.0.0d1 > set target_alias powerpc-apple-darwin9.0.0d1
I know that we can switch on the target triplet. But the target triplet test doesn't determine whether, say, you've installed all of the required vendor patches; also, switching on target triplet isn't as easy to maintain as, say, switching on whether a platform supports weak symbols properly.