On Sat, Jan 1, 2011 at 3:50 PM, Paul Goyette <paul%whooppee.com@localhost>
wrote:
There's atf_arch and atf_machine (and these are the opposite of MACHINE
and MACHINE_ARCH for some gnuy reason). Do the aieeefp tests compile
on vax or do you need some intra-tp ifdef games instead?
Ah, ok. So atf_arch contains ${MACHINE} and atf_machine contains
${MACHINE_ARCH} ? Kewl.
Yes, they are reversed for some stupid historical reason (autoconf
internal variables not matching common sense, iirc). That ought to be
fixed eventually... let's see if I can do that soon (filed PR
bin/44305 to track this).
You can define the "require.arch" and "require.machine" properties on
a test case basis; these contain a whitespace separated list of all
allowed architectures and machines for a particular test case.
atf-run will automatically skip these test cases if the host machine
does not match the requirements. See atf-test-case(4) for details on
other require.* properties.