I do not think this would work - WEIGHT and WEIGTRANGE tests run last.
[I think!] As Scott suggested the only way I believe is to use the
SKIPIFWEIGHT directive.
For me it would sure be nice if we could use variables in the filter
files eg IF %WEIGHT% > xx ELSE END sort of thingy..
-Nick
Chris Haycox wrote:
Kami,
You should be able to say
something like:
TESTSFAILED END
NOTCONTAINS WEIGHT50
TESTSFAILED
END CONTAINS WEIGHT65
...rest of filter, etc.
Also, make sure that WEIGHT50
and WEIGHT65, or whatever weight value range you want to "RUNIFWEIGHT"
at are real tests themselves, as defined in global.cfg as a standard
weight test.
-Chris
Hi;
Is
there anyway one can run a test if the weight, at the time the filter
is run, is above a certain point and below a certain point?
I
know we can skip tests if a certain weight is reached but it seems like
we can not run a test only if the weight is above a certain level.
This
can be handy as a final test/review to push an email to delete in cases
of extreme violation of all rules..
Regards,
-
Kami
|