so short circuting tflags is only available on the trunk code?
On Nov 7, 2006, at 10:55 PM, Loren Wilton wrote:
So today is it possible to simply do a head test and if it
indicates unwanted
language or whatever to not scan the body?
If by "today" you mean using the currently unreleased trunk code, yes.
Is there anything that short circuits body tests once a head test
proves
positive for certain types of tests?
You misunderstand slightly. All tests, no matter what they are
for, can be assigned a priority. The tests with the higher
priority (which I believe is actually the lower number) are run
before those with lower priority. (Unless they are meta
dependencies and the meta test priority forces them earlier. And a
few other minor wierd cases.)
You cal also specify a tflags value for a test that will indicate
that it should 'short circuit' all following tests. If this test
has a fairly high priority it will run fairly early. If it hits it
will stop further tests.
It doesn't matter if the test itself is a head test, a body test,
or something else.
Loren